Constructors
Properties
el
el: HTMLDivElement = ...
Methods
attach
- attach(mm: Markmap): void
Returns void
getHandler
- getHandler(handle: (mm: Markmap) => Promise<void>): () => void
Parameters
- handle: (mm: Markmap) => Promise<void>
Returns () => void
register
- register(data: IToolbarItem & { id: string }): void
Returns void
render
- render(): HTMLDivElement
Returns HTMLDivElement
setBrand
- setBrand(show: boolean): HTMLDivElement
Returns HTMLDivElement
setItems
- setItems(items: (string | IToolbarItem)[]): HTMLDivElement
Returns HTMLDivElement
Static
icon
- icon(path: string, attrs?: {}): VNode
Parameters
- path: string
- attrs: {} = {}
Returns VNode