1 | import type { AgPromise, IAfterGuiAttachedParams } from 'ag-grid-community';
|
2 | export interface TabbedLayoutParams {
|
3 | items: TabbedItem[];
|
4 | cssClass?: string;
|
5 | keepScrollPosition?: boolean;
|
6 | onItemClicked?: (event: {
|
7 | item: TabbedItem;
|
8 | }) => void;
|
9 | onActiveItemClicked?: () => void;
|
10 | suppressFocusBodyOnOpen?: boolean;
|
11 | suppressTrapFocus?: boolean;
|
12 | enableCloseButton?: boolean;
|
13 | closeButtonAriaLabel?: string;
|
14 | onCloseClicked?: () => void;
|
15 | }
|
16 | export interface TabbedItem {
|
17 | title: Element;
|
18 | titleLabel: string;
|
19 | bodyPromise: AgPromise<HTMLElement>;
|
20 | name: string;
|
21 | getScrollableContainer?: () => HTMLElement;
|
22 | afterAttachedCallback?: (params: IAfterGuiAttachedParams) => void;
|
23 | afterDetachedCallback?: () => void;
|
24 | }
|