Documentation / @ripl/vue / RiplElementPropsOptions
Interface: RiplElementPropsOptions<TElement> ​
Defined in: adapters/vue/src/core/use-element-props.ts:27
How a component builds its element from props and writes later changes back onto it.
Type Parameters ​
| Type Parameter |
|---|
TElement extends Element |
Properties ​
Methods ​
apply() ​
apply(
element,partition):void
Defined in: adapters/vue/src/core/use-element-props.ts:39
Writes a batch of changed props onto the element.
Parameters ​
| Parameter | Type |
|---|---|
element | TElement |
partition | RiplPropPartition |
Returns ​
void
create() ​
create(
initial):TElement|undefined
Defined in: adapters/vue/src/core/use-element-props.ts:37
Builds the element from the construction snapshot, or returns undefined to decline.
Parameters ​
| Parameter | Type |
|---|---|
initial | RiplWritable |
Returns ​
TElement | undefined