Skip to main content
You are viewing Pre-Alpha documentation.
Vuetify0 Logo
Theme
Mode
Accessibility
Vuetify
Vuetify One

Sign in to Vuetify One

Access premium tools across the Vuetify ecosystem — Bin, Play, Studio, and more.

Not a subscriber? See what's included

toElement API

API reference for the toElement composable.

Functions

toElement

(target: MaybeElementRef) => Element

Resolves a {@link MaybeElementRef} to a DOM Element or undefined. Handles: - `Ref<Element>`, `ShallowRef<HTMLElement>`, getter functions - Vue component instances (extracts `$el`) - Raw DOM elements (pass-through) - null/undefined (returns undefined)

Was this page helpful?

© 2016-1970 Vuetify, LLC
Ctrl+/