AdminLTE/plugins/filterizr/ActiveFilter.d.ts

16 lines
389 B
TypeScript
Executable File

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;
}