Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / angular/src/public-api / SxKeyedBlock

Class: SxKeyedBlock<T> ​

Defined in: projects/libraries/streamix/angular/src/lib/structural-block.ts:350

Type Parameters ​

T ​

T

Constructors ​

Constructor ​

new SxKeyedBlock<T>(anchor, factory, trackBy, emptyFactory?): SxKeyedBlock<T>

Defined in: projects/libraries/streamix/angular/src/lib/structural-block.ts:365

Parameters ​

anchor ​

Node

factory ​

SxCollectionBlockFactory<T>

trackBy ​

SxTrackBy<T>

emptyFactory? ​

SxBlockFactory

Returns ​

SxKeyedBlock<T>

Methods ​

bind() ​

bind(source): void

Defined in: projects/libraries/streamix/angular/src/lib/structural-block.ts:372

Parameters ​

source ​

SxValueOrExpression<Iterable<T, any, any> | undefined>

Returns ​

void


destroy() ​

destroy(): void

Defined in: projects/libraries/streamix/angular/src/lib/structural-block.ts:395

Returns ​

void


refresh() ​

refresh(): void

Defined in: projects/libraries/streamix/angular/src/lib/structural-block.ts:420

Re-reads the collection and re-renders synchronously. Used by a nested block whose expression reads the enclosing loop context.

Returns ​

void

Released under the MIT License.