Documentation / @ripl/core / createElement
Function: createElement() ​
createElement(...
options):Element<Partial<BaseState>,ElementEventMap>
Defined in: packages/core/src/core/element.ts:649
Factory function that creates a new Element instance.
Parameters ​
| Parameter | Type |
|---|---|
...options | [string, ElementOptions<Partial<BaseState>>] |
Returns ​
Element<Partial<BaseState>, ElementEventMap>