vue-accessibility-list
vue-accessibility-list
An accessibility list for your project with the options: increase / decrease font and high contrast.
Demo
Installation
NPM
$ npm install vue-accessibility-list
ES6
import AccessibilityList from 'vue-accessibility-list/src/AccessibilityList.vue'
new Vue({
components: {
AccessibilityList
}
})
Usage
<accessibility-list :position="position" :backgroundColor="backgroundColor" :fontColor="fontColor" :size="size" :fontSize="fontSize"></accessibility-list>
All props have default value.
Description of props
Props | Type | Default | Description |
---|---|---|---|
:position | String | left | left or right |
:backgroundColor | String | #D3D3D3 | background color of each item. Ex: #f9f9f9 |
:fontColor | String | #000 | font color of each item. Ex: #000 |
:fontSize | String | 20px | font size of each item. Ex: 22px |
:size | String | 48px | width and height of each item. Ex: 50px |
License
vue-accessibility-list is licensed under The MIT License.
Dependencies
Dependencies
@vue/cli-plugin-babel: ^4.5.11@vue/cli-service: ^4.5.11babel-core: ^6.26.3babel-loader: ^8.2.2babel-preset-env: ^1.7.0cross-env: ^7.0.3css-loader: ^4.3.0file-loader: ^6.2.0node-sass: ^4.14.1sass-loader: ^10.1.1vue-loader: ^15.9.6vue-template-compiler: ^2.6.12webpack: ^4.46.0webpack-cli: ^3.3.12webpack-dev-server: ^3.11.2