@svelteuidev/composables
Advanced tools
Comparing version 0.7.7 to 0.8.0
@@ -13,3 +13,3 @@ const FOCUSABLE = 'input, textarea, select, a, button, [tabindex]:not([tabindex="-1"])'; | ||
export function focustrap(node) { | ||
let focusElement = node.querySelector('[data-autofocus]'); | ||
let focusElement = node.querySelector('[autofocus]'); | ||
if (!focusElement) { | ||
@@ -16,0 +16,0 @@ const focusableElements = node.querySelectorAll(FOCUSABLE); |
{ | ||
"name": "@svelteuidev/composables", | ||
"version": "0.7.7", | ||
"version": "0.8.0", | ||
"description": "Svelte actions and utilities library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101521