EntityPanelComponent<T>
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends any | any |
Constructors
Constructor
new EntityPanelComponent<T>(options): EntityPanelComponent<T>;
Parameters
| Parameter | Type |
|---|---|
options | EntityPanelComponentOptions<T> |
Returns
EntityPanelComponent<T>
Overrides
EntityDefinitionComponent.constructor
Properties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
additionalActions | public | string[] | undefined | - |
definition | public | EntityDefinition | undefined | EntityDefinitionComponent.definition |
generatePanelFactory | public | () => EntityPanelFactory<unknown> & MemoizedFunction | undefined | - |
options | public | EntityPanelComponentOptions<T> | undefined | - |
type | public | string | undefined | EntityDefinitionComponent.type |
TYPE | static | string | 'entity-panel' | - |
Accessors
defaultPresenterLabel
Get Signature
get defaultPresenterLabel(): string;
Returns
string
icon
Get Signature
get icon(): ReactorIcon;
Returns
iconColor
Get Signature
get iconColor():
| string
| ReactorCharIcon
| ReactorUrlIcon;
Returns
| string
| ReactorCharIcon
| ReactorUrlIcon
system
Get Signature
get system(): System;
Returns
Inherited from
EntityDefinitionComponent.system
Methods
generateFactoryType()
generateFactoryType(): string;
Returns
string
getEntities()
getEntities(event): T[];
Parameters
| Parameter | Type |
|---|---|
event | GetEntityEvent<T> |
Returns
T[]
registerAdditionalAction()
registerAdditionalAction(action): void;
Parameters
| Parameter | Type |
|---|---|
action | Action |
Returns
void
setDefinition()
setDefinition(definition): void;
Parameters
| Parameter | Type |
|---|---|
definition | EntityDefinition |
Returns
void