Skip to content

Documentation / @ripl/vue / readBoundProps

Function: readBoundProps() ​

readBoundProps(props, keys): RiplWritable

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

Reads the props that were actually bound; an unbound prop must not overwrite a Ripl default.

Parameters ​

ParameterTypeDescription
propsRiplWritableThe component's props object.
keysreadonly string[]Every prop name the component declares.

Returns ​

RiplWritable

The bound props, with class normalised to a string.