🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

alpinejs-focus-modal

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alpinejs-focus-modal

This AlpineJS plugin helps with focus-trap problems of modals. When you are opening a modal the focus will be moved to the first focusable element and the focus will be trapped into the modal.

0.0.3
latest
Source
npm
Version published
Weekly downloads
7
250%
Maintainers
1
Weekly downloads
 
Created
Source

AlpineJS Focus Modal

This AlpineJS plugin helps with focus-trap problems of modals. When you are opening a modal the focus will be moved to the first focusable element and the focus will be trapped into the modal.

Install

From CDN: Add the following script to the end of your or section.

<script src="" defer></script>

From NPM: Install the package from NPM.

import AlpineFocusModal from "alpinejs-focus-modal";

Usage

TODO

##License Copyright © 2020 Vaggelis Yfantis and contributors

Licensed under the MIT license, see LICENSE for details.

FAQs

Package last updated on 30 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts