Class: ComponentManager
Defined in: submodules/univer/packages/ui/src/common/component-manager.ts:148
Constructors
new ComponentManager()
new ComponentManager(): ComponentManager
Defined in: submodules/univer/packages/ui/src/common/component-manager.ts:153
Returns
Methods
delete()
delete(name): void
Defined in: submodules/univer/packages/ui/src/common/component-manager.ts:310
Parameters
Parameter | Type |
---|---|
name | string |
Returns
void
get()
get(name):
| undefined
| ForwardRefExoticComponent<any>
| (props) => FunctionComponentElement<{
component: any;
props: Record<string, any>;
}>
Defined in: submodules/univer/packages/ui/src/common/component-manager.ts:288
Parameters
Parameter | Type |
---|---|
name | string |
Returns
| undefined
| ForwardRefExoticComponent
<any
>
| (props
) => FunctionComponentElement
<{
component
: any
;
props
: Record
<string
, any
>;
}>
getKey()
getKey(component): undefined | string
Defined in: submodules/univer/packages/ui/src/common/component-manager.ts:284
Parameters
Parameter | Type |
---|---|
component | any |
Returns
undefined
| string
register()
register(
name,
component,
options?): IDisposable
Defined in: submodules/univer/packages/ui/src/common/component-manager.ts:265
Parameters
Parameter | Type |
---|---|
name | string |
component | any |
options ? | IComponentOptions |