InlineStateConditional
Defined in: packages/sigma/src/types/styles.ts:164
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
Section titled “Type Parameters”A extends Attributes
S
GS
T
Properties
Section titled “Properties”
optionalelse?:GraphicValue<A,S,GS,T>
Defined in: packages/sigma/src/types/styles.ts:167
then:
GraphicValue<A,S,GS,T>
Defined in: packages/sigma/src/types/styles.ts:166
whenState
Section titled “whenState”whenState:
StatePredicate<S>
Defined in: packages/sigma/src/types/styles.ts:165