ember-kioskboard
Ember addon for KioskBoard virtual kiosk keyboard library.
![screenshot](https://raw.githubusercontent.com/furcan/KioskBoard/master/docs/github-cover.png)
Compatibility
- Ember.js v3.16 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
Installation
ember install ember-kioskboard
Usage
You can change all global configuration settings via config/environment.js
file.
Please check KioskBoard site for more configuration details.
ENV['ember-kioskboard'] = {
keysArrayOfObjects: null,
keysJsonUrl: null,
specialCharactersObject: null,
language: 'en',
theme: 'light',
capsLockActive: true,
allowRealKeyboard: false,
allowMobileKeyboard: false,
cssAnimations: true,
cssAnimationsDuration: 360,
cssAnimationsStyle: 'slide',
keysAllowSpacebar: true,
keysSpacebarText: 'Space',
keysFontFamily: 'sans-serif',
keysFontSize: '22px',
keysFontWeight: 'normal',
keysIconSize: '25px',
};
Default configuration
<KioskBoard @keysJsonUrl="english-keys.json" />
All default configuration parameters
<KioskBoard
@keysArrayOfObjects={{array (hash 0='A' 1='B' 2='C') (hash 0='D' 1='E' 2='F') (hash 0='G' 1='H' 2='I')}}
@specialCharactersObject={{null}}
@language='en'
@theme='light'
@capsLockActive={{true}}
@allowRealKeyboard={{false}}
@allowMobileKeyboard={{false}}
@cssAnimations={{true}}
@cssAnimationsDuration={{360}}
@cssAnimationsStyle='slide'
@keysAllowSpacebar={{true}}
@keysSpacebarText='Space'
@keysFontFamily='sans-serif'
@keysFontSize='22px'
@keysFontWeight='normal'
@keysIconSize='25px'
/>
Contributing
See the Contributing guide for details.
I'm sorry that i don't have time to write tests. Please report if you find any issue.
Thanks.
License
This project is licensed under the MIT License.