feat: install plugin

This commit is contained in:
Zack Spear
2023-06-08 16:24:02 -07:00
parent 8c7bf0e190
commit 069924b2d2
11 changed files with 85 additions and 27 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
/**
* @see https://www.telerik.com/blogs/how-to-trap-focus-modal-vue-3
*/
import { customRef } from "vue";
import { createFocusTrap } from "focus-trap";
import { customRef } from 'vue';
import { createFocusTrap } from 'focus-trap';
const useFocusTrap = focusTrapArgs => {
const trapRef = customRef((track, trigger) => {