new StylieTabs(el, options)
A module that represents a StylieTabs object, a componentTab is a page composition tool.
Parameters:
| Name | Type | Description |
|---|---|---|
el |
object | element of tab container |
options |
object | configuration options |
- Copyright:
- Copyright (c) 2015 Typesettin. All rights reserved.
- License:
- MIT
- Source:
Requires
- module:util-extent
- module:util
- module:events
Members
-
options
-
module default configuration
- Source:
Methods
-
_init()
-
initializes tabs and shows current tab.
- Source:
Fires:
- event:tabsInitialized
-
_initEvents()
-
handle tab click events.
- Source:
-
_show(idx)
-
Sets up a new lintotype component.
Parameters:
Name Type Description idxnumber tab to show
- Source:
Fires:
- event:tabsShowIndex