EntityReactorLeaf
Extends
Constructors
Constructor
new EntityReactorLeaf(options2): EntityReactorLeaf;
Parameters
| Parameter | Type |
|---|---|
options2 | EntityReactorNodeOptions |
Returns
EntityReactorLeaf
Overrides
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
attached | public | boolean | The entity is part of a rendered tree | ReactorTreeLeaf.attached |
currentSearch? | public | SearchEvent | The current search value | ReactorTreeLeaf.currentSearch |
options | public | ReactorTreeOptions | - | ReactorTreeLeaf.options |
visible | public | boolean | The entity itself is visible | ReactorTreeLeaf.visible |
Accessors
entity
Get Signature
get entity(): any;
Returns
any
Methods
addPropGenerator()
addPropGenerator(transformer): () => any;
Parameters
| Parameter | Type |
|---|---|
transformer | ReactorTreePropsTransformer |
Returns
() => any
Inherited from
ReactorTreeLeaf.addPropGenerator
getProps()
getProps(event): ReactorTreeProps;
Parameters
| Parameter | Type |
|---|---|
event | CoreTreeWidgetProps |
Returns
Inherited from
getSortKey()
getSortKey(): string;
Returns
string
Inherited from
match()
match(event): SearchEventMatch;
Parameters
| Parameter | Type |
|---|---|
event | SearchEvent |
Returns
SearchEventMatch
Inherited from
renderWidget()
renderWidget(event): Element;
Parameters
| Parameter | Type |
|---|---|
event | CoreTreeWidgetProps |
Returns
Element
Overrides
setAttached()
setAttached(attached): any;
Set whether the leaf is attached or detached from a parent. Attached does not explicitly mean that the leaf is visible though, for that the setVisible method is used
Parameters
| Parameter | Type |
|---|---|
attached | boolean |
Returns
any
Inherited from
setSearch()
setSearch(event): boolean;
Parameters
| Parameter | Type |
|---|---|
event | SearchEvent |
Returns
boolean
Inherited from
setSortKey()
setSortKey(key): void;
Parameters
| Parameter | Type |
|---|---|
key | string |
Returns
void
Inherited from
setVisible()
setVisible(visible): any;
Parameters
| Parameter | Type |
|---|---|
visible | boolean |
Returns
any