Methods
Name | Return Type | Params | Description |
---|---|---|---|
getGui |
HTMLElement | - | Returns the HTML element that represents the filter's user interface. |
getType |
string | - | Returns a string that represents the type of the filter. |
getState |
any | - | Returns the current state of the filter. |
isActive |
boolean | - | Returns a boolean indicating whether the filter is currently active. |
getFilterFn |
(state: any, value: any) => boolean | state: any, value: any |
Returns a function that takes in the current state of the filter and a value from the data, and returns a boolean indicating whether the value passes the filter. |
attachUiEvents |
void | DataDenHeaderFilterRendererParams |
Attaches any necessary event listeners to the filter's user interface. |
destroy |
void | - | Cleans up when the filter is no longer needed. |