w2ui
Home
Get started
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.reorder
Defines if tabs can be reordered.
Boolean, default = false
The
.reorder
is a boolean and defines if tab can be dragged to reorder
You can defined it during object creation:
let tabs = new w2tabs({ name: 'tabs', reorder: true, tabs: [ { id: 'tab1', text: 'Tab 1' }, { id: 'tab2', text: 'Tab 2' }, { id: 'tab3', text: 'Tab 3' }, { id: 'tab4', text: 'Tab 4' } ] });
Or any time during run-time:
w2ui.tabs.reorder = true; w2ui.tabs.refresh();
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus