Skip to content

@continuum-js/dom


@continuum-js/dom / Ref

Type Alias: Ref<E>

Ref<E> = ((el) => void) | { current: Element | null; }

Defined in: jsx-runtime.ts:57

A ref prop: callback (typed to the tag's element) or an object cell.

Type Parameters

E

E extends Element = Element