@nk11/core-components

contains a set of basic web components

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@nk11/core-components
0.1.136 years ago6 years agoMinified + gzip package size for @nk11/core-components in KB

Readme

| | | :---: | |
keyboard-interactions
| | Wrapper around keyboard inputs | | !Build Statusci-imageci-url !Project Licenselicense-imagelicense-url | | !Grade Badgecodacy-grade-imagecodacy-grade-url !Coverage Badgecoverage-imagecoverage-url | | !Dependenciesdep-status-imagedep-status-url !Dev Dependenciesdevdep-status-imagedevdep-status-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 
  • 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
Build Status()