Skip to content

@epikodelabs/streamix


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

Interface: SxConditionalBranch ​

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

Properties ​

source ​

readonly source: SxValueOrExpression<unknown> | null

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

Reactive condition for this branch. null marks the @else/@default branch, which renders when no preceding branch matched.


match? ​

readonly optional match?: unknown

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

When present, the branch matches only if the source equals this literal (@switch case semantics) instead of testing truthiness.


factory ​

readonly factory: SxBlockFactory

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

Released under the MIT License.