@blinkk/editor
Version:
Structured content editor with live previews.
20 lines (19 loc) • 795 B
TypeScript
import { ExampleApi, WorkspaceWorkflow } from './exampleApi';
import { TemplateResult } from '@blinkk/selective-edit';
import { DataStorage } from '../utility/dataStorage';
export declare class ExampleTool {
api: ExampleApi;
container: HTMLElement;
isExpanded?: boolean;
storage: DataStorage;
workflow: WorkspaceWorkflow;
constructor(api: ExampleApi, storage: DataStorage, container: HTMLElement);
handleToggle(evt: Event): void;
render(): void;
storeErrorMethods(): void;
template(tool: ExampleTool): TemplateResult;
templateApiResponse(tool: ExampleTool): TemplateResult;
templateFloatButton(tool: ExampleTool): TemplateResult;
templateSettings(tool: ExampleTool): TemplateResult;
templateStructure(tool: ExampleTool): TemplateResult;
}