mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
389 B
16 lines
389 B
5 years ago
|
import { Filter } from './types';
|
||
|
/**
|
||
|
* ActiveFilter represents the currently active filter over
|
||
|
* the grid.
|
||
|
*
|
||
|
* It can be a plain string value or an array of strings.
|
||
|
*/
|
||
|
export default class ActiveFilter {
|
||
|
private filter;
|
||
|
constructor(filter: Filter);
|
||
|
get(): Filter;
|
||
|
set(targetFilter: Filter): void;
|
||
|
toggle(targetFilter: string): void;
|
||
|
private toggleFilter;
|
||
|
}
|