Class: RegistryAsMap
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/registry.ts:47
Add extension modules statically when the plugin is initialized, so that the plugin can register these extension modules uniformly
Constructors
new RegistryAsMap()
new RegistryAsMap(): RegistryAsMap
Returns
Methods
add()
add(id, dataInstance): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/registry.ts:54
Parameters
Parameter | Type |
---|---|
id | string |
dataInstance | any |
Returns
void
delete()
delete(id): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/registry.ts:61
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void
getData()
getData(): Map<string, any>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/registry.ts:65
Returns
Map
<string
, any
>
create()
static create(): RegistryAsMap
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/registry.ts:50