import FiltersVisibility from 'tablefilter/src/extensions/filtersVisibility/filtersVisibility.js'
Constructor Summary
Public Constructor | ||
public |
constructor(tf: TableFilter, Configuration: Object) Creates an instance of FiltersVisibility |
Member Summary
Public Members | ||
public |
Css class for expand/collapse filters button |
|
public |
Button's custom HTML |
|
public |
Custom text for button |
|
public |
Css class for main container |
|
public |
Module description |
|
public |
Enable expand/collapse icon, defaults to true |
|
public |
Filters row index |
|
public |
Collapse icon filename |
|
public |
Expand icon filename |
|
public |
|
|
public |
Module name |
|
public |
Callback fired after filters row is hidden |
|
public |
Callback fired after filters row is shown |
|
public |
Callback fired before filters row is hidden |
|
public |
Callback fired before filters row is shown |
|
public |
Extension's stylesheet filename |
|
public |
ID of main container element |
|
public |
Default position in toolbar ('left'|'center'|'right') |
|
public |
Make filters visible at initialization, defaults to true |
Method Summary
Public Methods | ||
public |
buildUI() Build UI elements |
|
public |
destroy() Destroy the UI |
|
public |
init() Initialise extension |
|
public |
Show or hide filters |
|
public |
toggle() Toggle filters visibility |
Inherited Summary
From class Feature | ||
public |
TableFilter configuration |
|
public |
TableFilter emitter instance |
|
public |
TableFilter feature setting |
|
public |
Feature name |
|
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, Configuration: Object) source
Creates an instance of FiltersVisibility
Override:
Feature#constructorParams:
Name | Type | Attribute | Description |
tf | TableFilter | TableFilter instance |
|
Configuration | Object | object |
Public Members
public initialized: boolean source
Field indicating whether Feature is initialized