Skip to content

Function: mergeElementProps() ​

ts
function mergeElementProps(...all): ElementProps;

Combine props from several controllers for one element (e.g. a toolbar button with a tooltip). Later attributes win; handlers for the same event all run, in order.

Parameters ​

ParameterType
...allElementProps[]

Returns ​

ElementProps