UNPKG

hypertabs

Version:
26 lines (13 loc) 271 B
# hypertabs create a simple tabbed interface ## Example ``` js var Tabs = require('hypertabs') var tabs = Tabs() tabs.add(h('h1', 'foofoo')) tabs.add(h('h1', 'baz')) tabs.select(1) //change to the "baz" tab. document.body.appendChild(tabs) ``` ## License MIT