AdminLTE/plugins/filterizr/FilterizrElement.d.ts

17 lines
748 B
TypeScript
Raw Normal View History

import { Destructible, Dimensions, Resizable, Styleable } from './types/interfaces';
import FilterizrOptions from './FilterizrOptions';
import EventReceiver from './EventReceiver';
import StyledFilterizrElement from './StyledFilterizrElement';
export default abstract class FilterizrElement implements Destructible, Resizable, Styleable {
node: Element;
options: FilterizrOptions;
protected eventReceiver: EventReceiver;
constructor(node: Element, options: FilterizrOptions);
readonly dimensions: Dimensions;
destroy(): void | Promise<void>;
trigger(eventType: string): void;
abstract readonly styles: StyledFilterizrElement;
protected abstract bindEvents(): void;
protected abstract unbindEvents(): void;
}