Skip to main content
Vuetify0 v1.0 is here
Vuetify0 Logo
Theme
Mode
Palettes
Accessibility
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

useToggleScope API

A composable for conditionally managing Vue effect scopes based on reactive boolean conditions with automatic cleanup.

Explore these related pages for additional context and usage patterns.

PageCategory
useToggleScopeSystem
useEventListenerSystem

Functions

useToggleScope

(source: WatchSource<boolean>, fn: (() => void) | ((controls: ToggleScopeControls) => void)) => ToggleScopeControls

Conditionally manages an effect scope based on a reactive boolean source.

Was this page helpful?

© 2016-1970 Vuetify, LLC
Services
Ctrl+/