Skip to main content

ReactorTreeLeaf<T>

Extends

Extended by

Type Parameters

Type ParameterDefault type
T extends ReactorTreeListenerReactorTreeListener

Constructors

Constructor

new ReactorTreeLeaf<T>(options): ReactorTreeLeaf<T>;

Parameters

ParameterType
optionsReactorTreeOptions

Returns

ReactorTreeLeaf<T>

Overrides

PatchTree(TreeEntity)<T>.constructor

Properties

PropertyModifierTypeDescriptionInherited from
attachedpublicbooleanThe entity is part of a rendered treePatchTree(TreeEntity).attached
currentSearch?publicSearchEventThe current search valuePatchTree(TreeEntity).currentSearch
optionspublicReactorTreeOptions--
visiblepublicbooleanThe entity itself is visiblePatchTree(TreeEntity).visible

Methods

addPropGenerator()

addPropGenerator(transformer): () => any;

Parameters

ParameterType
transformerReactorTreePropsTransformer

Returns

() => any

Inherited from

PatchTree(TreeEntity).addPropGenerator

getProps()

getProps(event): ReactorTreeProps;

Parameters

ParameterType
eventCoreTreeWidgetProps

Returns

ReactorTreeProps

Inherited from

PatchTree(TreeEntity).getProps

getSortKey()

getSortKey(): string;

Returns

string

Inherited from

PatchTree(TreeEntity).getSortKey

match()

match(event): SearchEventMatch;

Parameters

ParameterType
eventSearchEvent

Returns

SearchEventMatch

Overrides

PatchTree(TreeEntity).match

renderWidget()

renderWidget(event): Element;

Parameters

ParameterType
eventCoreTreeWidgetProps

Returns

Element


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

PatchTree(TreeEntity).setAttached

setSearch()

setSearch(event): boolean;

Parameters

ParameterType
eventSearchEvent

Returns

boolean

Inherited from

PatchTree(TreeEntity).setSearch

setSortKey()

setSortKey(key): void;

Parameters

ParameterType
keystring

Returns

void

Inherited from

PatchTree(TreeEntity).setSortKey

setVisible()

setVisible(visible): any;

Parameters

ParameterType
visibleboolean

Returns

any

Inherited from

PatchTree(TreeEntity).setVisible