@textbus/core
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
12 lines (11 loc) • 416 B
TypeScript
import { Component } from './component';
import { Textbus } from '../textbus';
import { EventCache, EventTypes } from './on-events';
interface ComponentContext {
textbus: Textbus;
componentInstance: Component;
eventCache: EventCache<EventTypes>;
}
export declare function getCurrentContext(): ComponentContext;
export declare function setup(textbus: Textbus, component: Component<any>): void;
export {};