Constructor Summary
Public Constructor | ||
public |
constructor(tf: TableFilter) Create an instance of Toolbar |
Member Summary
Public Members | ||
public |
Css class for middle inner container DOM element |
|
public |
Css class for toolbar's container DOM element |
|
public |
|
|
public |
|
|
public |
Css class for left-side inner container DOM element |
|
public |
Css class for right-side inner container DOM element |
|
public |
Toolbar's custom container ID |
Method Summary
Public Methods | ||
public |
Return the container based on requested position inside the toolbar |
|
public |
destroy() Destroy Toolbar instance |
|
public |
Initialize toolbar components |
Inherited Summary
From class Feature | ||
public |
TableFilter configuration |
|
public |
TableFilter emitter instance |
|
public |
TableFilter feature setting |
|
public |
Feature name is the camelised class name as per TableFilter's convention |
|
public |
Field indicating whether Feature is initialized |
|
public |
TableFilter instance |
|
public |
destroy() Destroy the feature |
|
public |
disable() Disable the feature |
|
public |
enable() Enable the feature |
|
public |
init() Initialize the feature |
|
public |
Indicate whether the feature is enabled or not |
|
public |
reset() Reset the feature after being disabled |
Public Constructors
public constructor(tf: TableFilter) source
Create an instance of Toolbar
Override:
Feature#constructorParams:
Name | Type | Attribute | Description |
tf | TableFilter | TableFilter instance |
Public Members
public initialized: boolean source
Field indicating whether Feature is initialized
Override:
Feature#initializedPublic Methods
public container(position: String, el: DOMElement): DOMElement source
Return the container based on requested position inside the toolbar
Params:
Name | Type | Attribute | Description |
position | String |
|
3 possible positions: 'left', 'center', 'right' |
el | DOMElement | optional DOM element to be inserter in container |
Return:
DOMElement |
public init(isExternal: Boolean) source
Initialize toolbar components
Override:
Feature#initParams:
Name | Type | Attribute | Description |
isExternal | Boolean | initialize only if component belongs to toolbar |