An open API service indexing awesome lists of open source software.

https://github.com/octoper/alpinejs-focus-modal


https://github.com/octoper/alpinejs-focus-modal

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# 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.

```html

```

**From NPM**: Install the package from NPM.
```js
import AlpineFocusModal from "alpinejs-focus-modal";
```

## Usage

TODO

##License
Copyright © 2020 Vaggelis Yfantis and contributors

Licensed under the MIT license, see [LICENSE](LICENSE.md) for details.