mirror of https://github.com/ColorlibHQ/AdminLTE
17 lines
748 B
TypeScript
Executable File
17 lines
748 B
TypeScript
Executable File
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;
|
|
}
|