axessibility
v0.0.7
Published
Accessibility
Downloads
8
Readme
Axessibility.js
Try it out here Axessibility.js
🚀 Usage
npm i axessibility
import Axessibility from 'axessibility';
let options = {
// your options
}
const axessibility = new Axessiblity(options);
🔧 Options
| option | type | default | | ------ | ------ | ------ | | position | String | 'bottom-left' | | background | String (HEX/RGB/RGBA) | '#253786' | | color | String (HEX/RGB/RGBA) | '#fff' | | contrast | Boolean | true | | images | Boolean | true | | largeCursor | Boolean | true | | readingLine | Boolean | true | | fontSize | Boolean | true | | fontSizeStep | Integer | 2 | | fontSizeMaxSteps | Integer | 4 | | filters | Array (css filters) | ['grayscale', 'invert', 'sepia'] |