UNPKG

@visactor/react-vtable

Version:
22 lines (21 loc) 1.03 kB
import type { CommonDomOptions, CreateDOMParamsType, IGraphic, IStage, SimpleDomStyleOptions } from '@visactor/vtable/es/vrender'; import { ReactAttributePlugin } from '@visactor/vtable/es/vrender'; export declare class VTableReactAttributePlugin extends ReactAttributePlugin { htmlMap: Record<string, { root?: any; unmount?: () => void; wrapContainer: HTMLElement; nativeContainer: HTMLElement; container: string | HTMLElement | null; renderId: number; graphic: IGraphic; }>; removeElement(id: string): void; renderGraphicHTML(graphic: IGraphic): void; getWrapContainer(stage: IStage, userContainer?: string | HTMLElement | null, domParams?: CreateDOMParamsType): { wrapContainer: HTMLElement; nativeContainer: any; }; updateStyleOfWrapContainer(graphic: IGraphic, stage: IStage, wrapContainer: HTMLElement, nativeContainer: HTMLElement, options: SimpleDomStyleOptions & CommonDomOptions): void; protected drawHTML(): void; }