Class: StylieTabs

StylieTabs

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

Author:
  • Yaw Joseph Etse
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
idx number

tab to show

Source:
Fires:
  • event:tabsShowIndex