@nk11/core-components
v0.1.13
Published
contains a set of basic web components
Downloads
5
Readme
| | | :---: | | keyboard-interactions | | Wrapper around keyboard inputs | | [][license-url] | | | | |
Project Overview
This library contains a simple wrapper for different input methods. By introducing an 'action' to bind multiple input combos plus their handlers with it a better customisation by the user may be achieved.
Features
- Better Usability by customizing Keyboard Inputs
TODO
have a production built that optimises bundle size
- this is only for testing as the comonents should probably not be loaded statically
- find out about redundant jquery and lodash imports for keyboard and core-components
- what to do with the font awesome icon imports and fonts..
- removing fonts statically might be bad for older browsers
- loading fonts inline(one big chunk) might also be bad for mobile performance
loaders
- how to define multiple loaders for *.css with separate behaviour
- like node_modules/.css and src/.css
- global includes and local includes for shadow dom
- the current implementation is working but rather less fancy
- how to define multiple loaders for *.css with separate behaviour
a mapping component that defines mappings from device buttons or events to actions, compare both approaches
- https://github.com/fernandojsg/aframe-input-mapping-component
- not as customizable but might have some useful ideas
dropped the icons for now as they don't align well with shadowDom and webpack
[license-url]: