Skip to main content

EntityReactorLeaf

Extends

Constructors

Constructor

new EntityReactorLeaf(options2): EntityReactorLeaf;

Parameters

ParameterType
options2EntityReactorNodeOptions

Returns

EntityReactorLeaf

Overrides

ReactorTreeLeaf.constructor

Properties

PropertyModifierTypeDescriptionInherited from
attachedpublicbooleanThe entity is part of a rendered treeReactorTreeLeaf.attached
currentSearch?publicSearchEventThe current search valueReactorTreeLeaf.currentSearch
optionspublicReactorTreeOptions-ReactorTreeLeaf.options
visiblepublicbooleanThe entity itself is visibleReactorTreeLeaf.visible

Accessors

entity

Get Signature

get entity(): any;
Returns

any

Methods

addPropGenerator()

addPropGenerator(transformer): () => any;

Parameters

ParameterType
transformerReactorTreePropsTransformer

Returns

() => any

Inherited from

ReactorTreeLeaf.addPropGenerator


getProps()

getProps(event): ReactorTreeProps;

Parameters

ParameterType
eventCoreTreeWidgetProps

Returns

ReactorTreeProps

Inherited from

ReactorTreeLeaf.getProps


getSortKey()

getSortKey(): string;

Returns

string

Inherited from

ReactorTreeLeaf.getSortKey


match()

match(event): SearchEventMatch;

Parameters

ParameterType
eventSearchEvent

Returns

SearchEventMatch

Inherited from

ReactorTreeLeaf.match


renderWidget()

renderWidget(event): Element;

Parameters

ParameterType
eventCoreTreeWidgetProps

Returns

Element

Overrides

ReactorTreeLeaf.renderWidget


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

ParameterType
attachedboolean

Returns

any

Inherited from

ReactorTreeLeaf.setAttached


setSearch()

setSearch(event): boolean;

Parameters

ParameterType
eventSearchEvent

Returns

boolean

Inherited from

ReactorTreeLeaf.setSearch


setSortKey()

setSortKey(key): void;

Parameters

ParameterType
keystring

Returns

void

Inherited from

ReactorTreeLeaf.setSortKey


setVisible()

setVisible(visible): any;

Parameters

ParameterType
visibleboolean

Returns

any

Inherited from

ReactorTreeLeaf.setVisible