chalkygames123 / stimulus-dialog

Accessible dialog implementation with Stimulus

Home Page:https://stimulus-dialog-chalkygames123.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stimulus-dialog

code style: XO code style: prettier Netlify Status Open in Visual Studio Code

Accessible dialog implementation with Stimulus

Demo

https://stimulus-dialog-chalkygames123.netlify.app/

Installation

  1. Copy src/controllers/dialog-controller.js to your project.

  2. Install dependencies (if you haven't already):

$ npm install @hotwired/stimulus body-scroll-lock tabbable

Browser Support

This implementation is intended to support only the modern browsers listed with the defaults query in Browserslist. To support IE11 as well, please consult the example/support-ie11 branch. Its demo is available here: https://example-support-ie11--stimulus-dialog-chalkygames123.netlify.app/

About

Accessible dialog implementation with Stimulus

https://stimulus-dialog-chalkygames123.netlify.app/


Languages

Language:JavaScript 50.0%Language:HTML 35.3%Language:CSS 14.7%