https://github.com/a2nt/js-accesability-widget
https://github.com/a2nt/js-accesability-widget
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/a2nt/js-accesability-widget
- Owner: a2nt
- License: mit
- Created: 2024-06-18T13:59:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T19:26:20.000Z (about 2 years ago)
- Last Synced: 2024-12-30T04:18:11.909Z (over 1 year ago)
- Language: JavaScript
- Size: 1.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# js-accesability-widget
Vanilla Accesability Widget.
## Requirements
No requirements, vanilla JS
## Usage
Add dist/css/app.css and dist/js/app.js to your website and it's ready to use
Also you can use globals to call functions
```
window.ASM.reset()
```
## Webpack
Install package
npm i @a2nt/js-accesability-widget --save
Add package to your JS code
```
import '@a2nt/js-accesability-widget/src/js/app';
```
## Demo
https://html-preview.github.io/?url=https://raw.githubusercontent.com/a2nt/js-accesability-widget/main/dist/index.html
It's module of UI kit (https://github.com/a2nt/webpack-bootstrap-ui-kit), but can be used independently.