ngx-material-keyboard / Core

Onscreen virtual keyboard for Angular ≥ 5 (https://angular.io/) using Angular Material (https://material.angular.io/).

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Core

Materialette
Materialette - A material design color palette
Stars: ✭ 1,056 (+1047.83%)
Mutual labels:  material-design, material
Battery Meter View
🔋 Material design battery meter (i.e. level, state) view for Android
Stars: ✭ 57 (-38.04%)
Mutual labels:  material-design, material
Paper Ripple
Material Design Ripple effect in pure JS & CSS.
Stars: ✭ 55 (-40.22%)
Mutual labels:  material-design, material
Quasar Awesome
🎉 A list of awesome things related to Quasar
Stars: ✭ 995 (+981.52%)
Mutual labels:  material-design, material
Shards Dashboard
🔥A beautiful Bootstrap 4 admin dashboard templates pack.
Stars: ✭ 1,143 (+1142.39%)
Mutual labels:  material-design, material
Material Motion
Starmap and team docs
Stars: ✭ 44 (-52.17%)
Mutual labels:  material-design, material
Togglebuttons
Android toggle buttons that adhere to the Material Design documentation.
Stars: ✭ 88 (-4.35%)
Mutual labels:  material-design, material
Jtmaterialtransition
An iOS transition for controllers based on material design.
Stars: ✭ 966 (+950%)
Mutual labels:  material-design, material
Rnmaterial
Make Fun with RnMaterial on WordPress.
Stars: ✭ 64 (-30.43%)
Mutual labels:  material-design, material
Material Vue Daterange Picker
a date-range-picker follows the Material Design spec powered by vue.js (alpha)
Stars: ✭ 64 (-30.43%)
Mutual labels:  material-design, material
Alfred Mdi
Alfred 3 workflow to find Material Design Icons
Stars: ✭ 38 (-58.7%)
Mutual labels:  material-design, material
Material Remixer
A set of cross-platform libraries and protocols to allow the sharing of design values and live refinement of apps during the development process.
Stars: ✭ 1,275 (+1285.87%)
Mutual labels:  material-design, material
Materialsearchview
Android Search View based on Material design guidelines.
Stars: ✭ 987 (+972.83%)
Mutual labels:  material-design, material
Android Dev
⚡️ Curated list of resources for Android app development. Prepare for battle!
Stars: ✭ 44 (-52.17%)
Mutual labels:  material-design, material
Bluetooth State View
Material design animated Bluetooth state view for Android
Stars: ✭ 36 (-60.87%)
Mutual labels:  material-design, material
Ct Material Kit Pro React Native
Material Kit PRO React Native is a fully coded app template built over Galio.io, React Native and Expo
Stars: ✭ 57 (-38.04%)
Mutual labels:  material-design, material
Material Design Lite
Material Design Components in HTML/CSS/JS
Stars: ✭ 31,931 (+34607.61%)
Mutual labels:  material-design, material
React Saas Template
🌊 Template for building an SaaS / admin website using React + Material-UI
Stars: ✭ 942 (+923.91%)
Mutual labels:  material-design, material
Youtube Play Icon
Material style morphing play-pause drawable for Android
Stars: ✭ 57 (-38.04%)
Mutual labels:  material-design, material
Mahapps.metro.iconpacks
Awesome icon packs for WPF and UWP in one library
Stars: ✭ 1,157 (+1157.61%)
Mutual labels:  material-design, material

Build Status

ngx-material-keyboard

Onscreen virtual keyboard for Angular using Angular Material.

Please note that the project is at a very early stage. Therefore one should refrain from productive usage.

ngx-material-keyboard in action

Demo

A demo can be found here.

Docs

Generated documentation can be found here.

Getting started

  1. Install with your prefered packet manager (we're using npm here): npm install --save @ngx-material-keyboard/core

Be sure to fulfill the peer dependencies of this module, in particular Angular and Angular Material.

  1. Add the module to your project, e.g. app.module.ts:
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MatButtonModule } from '@angular/material/button';
...
import { MatKeyboardModule } from '@ngx-material-keyboard/core';

@NgModule({
  imports: [
    // Angular modules
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,

    // Material modules
    MatButtonModule,
    MatKeyboardModule,
  ],
  ...
})
export class AppModule {}
  1. Use the MatKeyboardDirective on your input elements or textareas and set the name or locale of the layout.

If not provided the locale will be derieved from the LOCALE_ID or the browser.

<input [matKeyboard]="'Azərbaycanca'">

Providing custom layouts

Most of the base configurations are provided as injection tokens. Please read the documentation to understand how to handle it.

All layouts are based on (or directly inherited from) the angular-virtual-keyboard which is based on GreyWyvern VKI. For details on how to structure a layout see the comment derived from the original source code.

Note that this will most likely be changed in the near future. But for now a huge range of layouts is already usable because of the great contribution back then.

But basicly you just provide the configuration of your new layout in your AppModule:

import { IKeyboardLayouts, keyboardLayouts, MAT_KEYBOARD_LAYOUTS, MatKeyboardModule } from '@ngx-material-keyboard/core';

const customLayouts: IKeyboardLayouts = {
  ...keyboardLayouts,
  'Tölles Läyout': {
    'name': 'Awesome layout',
    'keys': [
      [
        ['1', '!'],
        ['2', '@'],
        ['3', '#']
      ]
    ],
    'lang': ['de-CH']
  }
};

@NgModule({
  ...
  providers: [
    { provide: MAT_KEYBOARD_LAYOUTS, useValue: customLayouts }
  ],
  ...
})
export class AppModule {}

Development

This repository is managed by and layed out for ng-packagr.

Versioning

The application uses semver and is developed with the git flow branching model.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].