Skip to content

Documentation / @ripl/vue / partitionProps

Function: partitionProps() ​

partitionProps(changed, stateKeys, paintedKeys): RiplPropPartition

Defined in: adapters/vue/src/core/state.ts:103

Partitions changed props into animatable state and plain fields.

Parameters ​

ParameterTypeDescription
changedRiplWritableThe props that changed.
stateKeysReadonlySet<string>The prop names that are animatable state.
paintedKeysReadonlySet<string>The field names that change how the element paints.

Returns ​

RiplPropPartition

The two halves, and flags describing what needs applying.