| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/framework7/node_modules/framework7/components/tabs/ |
Upload File : |
import { CSSSelector, Framework7Plugin } from '../app/app-class.js';
export namespace Tabs {
interface TabShowResult {
newTabEl: HTMLElement;
oldTabEl: HTMLElement | undefined;
onTabsChanged(callback: Function): void;
animated: boolean;
}
interface DomEvents {
/** Event will be triggered when Tab becomes visible/active */
'tab:show': (event: any) => void;
/** Event will be triggered when Tab becomes hidden/inactive */
'tab:hide': (event: any) => void;
}
interface AppMethods {
tab: {
/** Show tab */
show(tabEl: HTMLElement | CSSSelector, animate?: boolean): TabShowResult;
/** Show tab */
show(
tabEl: HTMLElement | CSSSelector,
tabLinkEl?: HTMLElement | CSSSelector,
animate?: boolean,
): TabShowResult;
};
}
interface AppParams {}
interface AppEvents {
/** Event will be triggered when Tab becomes visible/active */
tabShow: (tabEl: HTMLElement) => void;
/** Event will be triggered when Tab becomes hidden/inactive */
tabHide: (tabEl: HTMLElement) => void;
}
}
declare const TabsComponent: Framework7Plugin;
export default TabsComponent;