Options
All
  • Public
  • Public/Protected
  • All
Menu

Tab provides a single tab item.

When a tab is clicked, it attempts to remove the active class from it's siblings and apply it to itself. Therefore the sibling of a tab should always be a Tab.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

  • children is an array of content passed to this Component.

    Parameters

    Returns Tab

Properties

attrs

children

children: Content[]

view

view: View = new view.Main(this)

Methods

click

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

Object literals

values

values: object

a

a: object

id

id: string = "link"

text

text: string = this.attrs.ww.text

clicked

  • clicked(e: Event): void

root

root: object

class

class: string = concat(TAB, this.attrs.ww.active ? active.ACTIVE : '')

id

id: string = "root"

Generated using TypeDoc