Home Reference Source
public class | source

Tab

Extends:

cables-shared-client~Events → Tab

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

active: boolean

public

buttons: *[]

public
public

dataId: *

public

icon: *

public

id: *

public

options: *

public
public

title: *

public
public

Method Summary

Public Methods
public
public

addButton(title: *, cb: *, options: *): *

public
public
public
public

html(html: *)

public

initHtml(eleContainer: *)

public

isVisible(): *

public

remove()

public

Public Constructors

public constructor() source

Public Members

public active: boolean source

public buttons: *[] source

public contentEle: * source

public dataId: * source

public icon: * source

public id: * source

public options: * source

public tabPanel: * source

public title: * source

public toolbarContainerEle: * source

public toolbarEle: * source

Public Methods

public activate() source

public addButton(title: *, cb: *, options: *): * source

Params:

NameTypeAttributeDescription
title *
cb *
options *

Return:

*

public addButtonBarElement(ele: *) source

Params:

NameTypeAttributeDescription
ele *

public deactivate() source

public getSaveButton(): * source

Return:

*

public html(html: *) source

Params:

NameTypeAttributeDescription
html *

public initHtml(eleContainer: *) source

Params:

NameTypeAttributeDescription
eleContainer *

public isVisible(): * source

Return:

*

public remove() source

public updateSize() source