- tabSet<TNotifyArgs>(options): {
hostEl: HTMLElement;
notify: ((name: string, args: TNotifyArgs) => void);
panels: Panel<TNotifyArgs>[];
select: ((id: string) => void);
tabSetEl: HTMLElement;
} Parameters
- options: {
onPanelChange?: ((priorPanel: undefined | Panel<TNotifyArgs>, newPanel: undefined | Panel<TNotifyArgs>) => void);
onPanelChanging?: ((priorPanel: undefined | Panel<TNotifyArgs>, newPanel: undefined | Panel<TNotifyArgs>) => boolean | void);
panels: Panel<TNotifyArgs>[];
parent: string | HTMLElement;
preselectId?: string;
}Optional
onPanelChange?: ((priorPanel: undefined | Panel<TNotifyArgs>, newPanel: undefined | Panel<TNotifyArgs>) => void)
- (priorPanel, newPanel): void
Returns void
Optional
onPanelChanging?: ((priorPanel: undefined | Panel<TNotifyArgs>, newPanel: undefined | Panel<TNotifyArgs>) => boolean | void)
- (priorPanel, newPanel): boolean | void
Returns boolean | void
parent: string | HTMLElement
Optional
preselectId?: string
Returns {
hostEl: HTMLElement;
notify: ((name: string, args: TNotifyArgs) => void);
panels: Panel<TNotifyArgs>[];
select: ((id: string) => void);
tabSetEl: HTMLElement;
}
hostEl: HTMLElement
notify: ((name: string, args: TNotifyArgs) => void)
- (name, args): void
Returns void
select: ((id: string) => void)
tabSetEl: HTMLElement