@textbus/browser
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
17 lines (16 loc) • 446 B
TypeScript
export interface UIElementParams {
classes?: string[];
attrs?: {
[key: string]: any;
};
props?: {
[key: string]: any;
};
styles?: {
[key: string]: any;
};
children?: (Node | null)[];
on?: Record<string, (ev: Event) => void>;
}
export declare function createElement(tagName: string, options?: UIElementParams): HTMLElement;
export declare function createTextNode(content: string): Text;