w2ui
Home
Get started
Demo App
Demos
Docs
Blog
Support
Layout
Grid
Toolbar
Sidebar
Tabs
Form
Popup
Utilities
ver 1.3
ver 1.4
ver 1.5
ver 2.0
Tabs
Overview
Events
Properties
Methods
w2tabs.tab_template
Template object for creation of new tabs
Object, default = {...} // see below
Each time a new tab is created, it wilbe initialized with a defulat object, plus anything you define on top. The default object has following structure:
{ id : null, // unique id text : '', // tab text route : '', // route to follow, can have dynamic parts as /item/:id/details (see routeData) hidden : false, // indicates if tab is hidden disabled : false, // indicates if tab is disabled closable : false, // indicates if tab is closable style : '', // additional style for the tab text tooltip : '', // tooltip for the tab onClick : null, // click event handler (only this tab) onRefresh : null, // refresh event handler (only this tab) onClose : null // close event handler (only this tab) }
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus