Skip to main content

Interface: NumericValueHolder

Defined in: src/core/signals.ts:79

The minimal surface the signal/tracker interop needs. ValueTracker and any compatible numeric holder satisfy it, so the core module stays free of a dependency on the mobject layer.

Methods​

getValue()​

getValue(): number

Defined in: src/core/signals.ts:81

Read the current numeric value.

Returns​

number


setValue()​

setValue(value): unknown

Defined in: src/core/signals.ts:83

Write a new numeric value.

Parameters​

value​

number

Returns​

unknown