Skip to content
Flux
Main Navigation Home
Introduction
Composables
API
Patterns
Components
Application
Dashboard
Internals
Statistics

Appearance

Sidebar Navigation

Introduction

Installation

Composables

useCalendar

useCalendarMonthSwitcher

useCalendarYearSwitcher

useEventListener

useFocusTrap

useFocusTrapLock

useFocusTrapReturn

useFocusTrapSubscription

useFocusZone

useInView

useRemembered

useScrollPosition

Directives

focusTrap

heightTransition

Utils

animationFrameDebounce

flattenVNodeTree

getBidirectionalFocusElement

getComponentName

getComponentProps

getExposedRef

getFocusableElement

getFocusableElements

getKeyboardFocusableElements

unrefTemplateElement

warn

wrapFocus

FOCUS_TRAP_LOCKS

Data

Color palette

On this page

v-focus-trap ​

This directive is used to trap focus within the element the directive is bound to.

Pager
Previous pageuseScrollPosition
Next pageheightTransition

Released under the MIT License.

Copyright © 2023–present Bas Milius