@fancyapps/ui
Version:
Robust JavaScript UI Component Library
8 lines (7 loc) • 334 B
TypeScript
import { Base } from "./Base";
export declare class Plugin<ComponentType, PluginOptionsType extends object, PluginEventsType extends string> extends Base<PluginOptionsType, PluginEventsType> {
instance: ComponentType;
constructor(instance: ComponentType, options: PluginOptionsType);
attach(): void;
detach(): void;
}