appliedRamp

The ramp a value ends in — #self.value -> -1..1 -> temperature — read off its last two steps; null where its last step is not a typed value of a type that applies (ramp).

@internote/canvas-sdkFunction
On this page
import { appliedRamp } from '@internote/canvas-sdk';

#Signature

(value: unknown, params: Record<string, number>): AppliedRamp | null

#Parameters

value
A style attribute's value.
params
The live parameter values, for window ends that follow a slider.

Declared in packages/canvas-sdk/src/data/applications.ts:190.

Last updated