GitHub - e404r/ngx-simple-keyboard-kiosk (original) (raw)
This module is designed for use in kiosk projects. FOR ANGULAR 17
Demo
https://stackblitz.com/~/github.com/e404r/ngx-simple-keyboard-kiosk
Installation
npm i simple-keyboard simple-keyboard-layouts ngx-simple-keyboard-kiosk
Usage/Examples
app.module.ts
import { NgxSimpleKeyboardKioskModule } from "ngx-simple-keyboard-kiosk";
@NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, AppRoutingModule, NgxSimpleKeyboardKioskModule, ......
], providers: [], bootstrap: [AppComponent] }) export class AppModule { }
app.component.html
<ngx-simple-keyboard-kiosk [defaultLanguage]="'georgian'" [secondLanguage]="'english'" [removeks]="['.com', '@']"
styles.scss
/* Importing ngx-simple-keyboard-kiosk SCSS file. */ @import 'ngx-simple-keyboard-kiosk/styles.scss';
HTML Variables
Startup language: [defaultLanguage]="'georgian'"
Changeable language: [secondLanguage]="'english'"
Delete the keys you don't want: [removeks]="['.com', '@']"