getElementFromVueRef

Gets an Element a ref, provided it is defined and not an array.

function getElementFromVueRef(ref: unknown): Element | never;
  • ref - The ref to extract the Element from.

Returns an Element if ref is Vue or Element.

Throws an error if an Element could not be found.

Sök

Esc för att stänga Pil upp/ner för att navigera Enter för att välja

Välj version

Var god vänta, laddar versionsdata...