Properties
addComponent
add
Component
: ((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
clearComponents: (() => void) = null
isMounted
isMounted: boolean = false
isRunning
isRunning: boolean = false
leafletPanesElement
leafletPanesElement: HTMLDivElement
paneElement
paneElement: HTMLDivElement
removeComponent
removeComponent: ((id: string) => void) = null
Type declaration
-
- (id: string): void
-
Returns void
Private
settleAfterRenderPromisesQueue
updateComponent
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>
用于渲染 svg 组件的服务