Add a roving tabindex to a Vue component
npm install rovueing-tabindex!logo
Add roving tabindex to your components.
``bash`
npm i rovueing-tabindex
// Or
yarn add rovueing-tabindex
// Or
pnpm add rovueing-tabindex
`javascript
import { RovueingTabindex } from 'rovueing-tabindex';
app.use(RovueingTabindex, {
direction: "ltr" | "rtl" // default: "ltr"
});
`
`vue`
1. Import and register rovuing-tabindexv-rove
2. Use on the parent which contains focusable items and denotes the boundary of a roving tabindex. Use v-rove-focusable.rtl if you need to overwrite the default options.v-rove-focusable` on every focusable element inside the container parent.
3. Use
Twitter: @Mehdi_HoseiniP
Github: @Mehdi-Hp
---
#### Related
vue-roving-tabindex