Skip to content

Documentation / @ripl/core / createElement

Function: createElement()

createElement(...options): Element<Partial<BaseState>, ElementEventMap>

Defined in: packages/core/src/core/element.ts:877

Factory function that creates a new Element instance.

Parameters

ParameterType
...options[string, ElementOptions<Partial<BaseState>>]

Returns

Element<Partial<BaseState>, ElementEventMap>