InlineStateConditional
Defined in: packages/sigma/src/types/styles.ts:169
Inline state conditional value.
Chooses between then and else based on a state shorthand predicate.
thenandelsecan be direct values, attribute bindings, or functionselseis optional; if omitted, falls back to the graphic variable’s default
Type Parameters
A
A extends Attributes
S
S
GS
GS
T
T
Properties
else?
optionalelse?:GraphicValue<A,S,GS,T>
Defined in: packages/sigma/src/types/styles.ts:172
then
then:
GraphicValue<A,S,GS,T>
Defined in: packages/sigma/src/types/styles.ts:171
whenState
whenState:
StatePredicate<S>
Defined in: packages/sigma/src/types/styles.ts:170