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
Sidebar
Overview
Events
Properties
Methods
w2sidebar.tabIndex
Defines tabIndex for sidebar element.
Number, default = null
This property will only influence the HTML if it's not 0.
You can defined it during object creation:
let sidebar = new w2sidebar({ name: 'sidebar', tabIndex: 5, nodes: [ { id: 'id-1', text: 'Level 1', hidden: true }, { id: 'id-2', text: 'Level 2', expanded: true, nodes: [ { id: 'id-2-1', text: 'Level 2.1' }, { id: 'id-2-2', text: 'Level 2.2' } ]}, { id: 'id-3', text: 'Level 3' } ] });
Or any time after the object has been created, if you re-render the object:
w2ui.sidebar.tabIndex = 20 w2ui.sidebar.render()
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus