用于渲染 svg 组件的服务

Hierarchy

  • ReactSVGOverlayAppServer

Constructors

Properties

addComponent: ((component: SvgFC, id: string, model: any, data: any, style?: any) => Promise<HTMLElement>) = null

Type declaration

    • (component: SvgFC, id: string, model: any, data: any, style?: any): Promise<HTMLElement>
    • Parameters

      • component: SvgFC
      • id: string
      • model: any
      • data: any
      • Optional style: any

      Returns Promise<HTMLElement>

clearComponents: (() => void) = null

Type declaration

    • (): void
    • Returns void

isMounted: boolean = false
isRunning: boolean = false
leafletPanesElement: HTMLDivElement
map: WikMap
pane: string
paneElement: HTMLDivElement
removeComponent: ((id: string) => void) = null

Type declaration

    • (id: string): void
    • Parameters

      • id: string

      Returns void

settleAfterRenderPromisesQueue: Map<AfterRenderPromiseKey, AfterRenderPromiseSettleFn> = ...
svgToAdd: SVG[] = null
updateComponent: ((id: string, data: any, style?: any) => Promise<HTMLElement>) = null

Type declaration

    • (id: string, data: any, style?: any): Promise<HTMLElement>
    • Parameters

      • id: string
      • data: any
      • Optional style: any

      Returns Promise<HTMLElement>

Methods

  • Parameters

    • svgid: string
    • settlefn: any
    • action: "add" | "update"

    Returns void

Generated using TypeDoc