0.0.31 • Published 6 years ago

@register-ui/keyboard-base v0.0.31

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Virtual Keyboard Blocks

Building blocks for virtual keyboard components

These are building blocks for making efficient user-interfaces that utilize virtual keyboard components to handle user input. They are composable, and allow for both a global keyboard, and contextual keyboards that simply need to share a parent element.

example:

<head>
  <script src="https://unpkg.com/@register-ui/keyboard-base@latest/dist/register-keyboard/register-keyboard.js"></script>
</head>
<body>
  <input class="global-keyboard" name="test-input" />
  <div style="padding: 24px; background: #eaeaea">
    <!-- Isolated Keyboard (only handles inputs within this parent) -->

    <input class="local-keyboard" name="test-input-2" />
    <br />

    <reg-keyboard global='false'>
      <reg-keyboard-button button-name="A" press-action="add" add-value="A">A</reg-keyboard-button>
    </reg-keyboard>

  </div>
  <!-- Global Keyboard (handles inputs within entire app, besides ones controlled by local keyboards) -->
  <reg-keyboard global="true">
    <reg-keyboard-button button-name="A" press-action="add" add-value="A">A</reg-keyboard-button>
  </reg-keyboard>

  <!-- Global Keyboard using the keyboard-layout component to generate the keys. -->
  <reg-keyboard global="true">
    <reg-keyboard-layout language="english" layout="condensed"></reg-keyboard-layout>
  </reg-keyboard>
</body>

Keyboard Component

Keyboard Component Documentation

Keyboard-Button Component

Keyboard-Button Component Documentation

Keyboard-Layout Component

Keyboard-Layout Component Documentation

0.0.25

6 years ago

0.0.30

6 years ago

0.0.31

6 years ago

0.0.26

6 years ago

0.0.27

6 years ago

0.0.28

6 years ago

0.0.29

6 years ago

0.0.24

6 years ago

0.0.22

6 years ago

0.0.23

6 years ago

0.0.20

6 years ago

0.0.21

6 years ago

0.0.12

6 years ago

0.0.13

6 years ago

0.0.14

6 years ago

0.0.15

6 years ago

0.0.16

6 years ago

0.0.17

6 years ago

0.0.18

6 years ago

0.0.19

6 years ago

0.0.10

6 years ago

0.0.11

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago