Coder Social home page Coder Social logo

mohsen77sk / angular-touch-keyboard Goto Github PK

View Code? Open in Web Editor NEW
40.0 4.0 11.0 1.66 MB

Virtual Keyboard for Angular applications.

License: MIT License

JavaScript 3.23% TypeScript 77.36% HTML 12.94% SCSS 6.47%
angular keyboard angular-material virtual-keyboard onscreen-keyboard touch-keyboard angular-keyboard

angular-touch-keyboard's Introduction

angular-touch-keyboard's People

Contributors

e404r avatar fredrikthelander avatar mohsen77sk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

angular-touch-keyboard's Issues

Georgian Locale

import { Layout, Display, Locale } from '../type';

import { fnDisplay } from '../constants';

const layouts: Layout = {
text_alphabetic: [
[ 'แƒฅ', 'แƒฌ', 'แƒ”', 'แƒ ', 'แƒข', 'แƒง', 'แƒฃ', 'แƒ˜', 'แƒ', 'แƒž' ],
['แƒ', 'แƒก', 'แƒ“', 'แƒค', 'แƒ’', 'แƒฐ', 'แƒฏ', 'แƒ™', 'แƒš'],
['{shift}', 'แƒ–', 'แƒฎ', 'แƒช', 'แƒ•', 'แƒ‘', 'แƒœ', 'แƒ›', '{backspace}'],
['{numeric}', '{space}', '{done}'],
],

text_shift: [
    ['แƒฅ', 'แƒญ', 'แƒ”', 'แƒฆ', 'แƒ—', 'แƒง', 'แƒฃ', 'แƒ˜', 'แƒ', 'แƒž'],
    ['แƒ', 'แƒจ', 'แƒ“', 'แƒค', 'แƒ’', 'แƒฐ', 'แƒŸ', 'แƒ™', 'โ‚พ'],
    ['{shift}', 'แƒซ', 'แƒฎ', 'แƒฉ', 'แƒ•', 'แƒ‘', 'แƒœ', 'แƒ›', '{backspace}'],
    ['{numeric}', '{space}', '{done}'],
],
text_numeric: [
    ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0'],
    ['-', '/', ':', ';', '(', ')', '$', '&', '@', '"'],
    ['{symbolic}', '.', ',', '?', '!', "'", '{backspace}'],
    ['{alphabetic}', '{space}', '{done}'],
],
text_symbolic: [
    ['[', ']', '{', '}', '#', '%', '^', '*', '+', '='],
    ['_', '\\', '|', '~', '<', '>', 'โ‚ฌ', 'ยฃ', 'ยฅ', 'โ€ข'],
    ['{numeric}', '.', ',', '?', '!', "'", '{backspace}'],
    ['{alphabetic}', '{space}', '{done}'],
],
search_alphabetic: [
    [ 'แƒฅ', 'แƒฌ', 'แƒ”', 'แƒ ', 'แƒข', 'แƒง', 'แƒฃ', 'แƒ˜', 'แƒ', 'แƒž' ],
    ['แƒ', 'แƒก', 'แƒ“', 'แƒค', 'แƒ’', 'แƒฐ', 'แƒฏ', 'แƒ™', 'แƒš'],
    ['{shift}', 'แƒ–', 'แƒฎ', 'แƒช', 'แƒ•', 'แƒ‘', 'แƒœ', 'แƒ›', '{backspace}'],
    ['{numeric}', '{space}', '{done}'],
],
search_shift: [
    ['แƒฅ', 'แƒญ', 'แƒ”', 'แƒฆ', 'แƒ—', 'แƒง', 'แƒฃ', 'แƒ˜', 'แƒ', 'แƒž'],
    ['แƒ', 'แƒจ', 'แƒ“', 'แƒค', 'แƒ’', 'แƒฐ', 'แƒŸ', 'แƒ™', 'โ‚พ'],
    ['{shift}', 'แƒซ', 'แƒฎ', 'แƒฉ', 'แƒ•', 'แƒ‘', 'แƒœ', 'แƒ›', '{backspace}'],
    ['{numeric}', '{space}', '{done}'],
],
search_numeric: [
    ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0'],
    ['-', '/', ':', ';', '(', ')', '$', '&', '@', '"'],
    ['{symbolic}', '.', ',', '?', '!', "'", '{backspace}'],
    ['{alphabetic}', '{space}', '{done}'],
],
search_symbolic: [
    ['[', ']', '{', '}', '#', '%', '^', '*', '+', '='],
    ['_', '\\', '|', '~', '<', '>', 'โ‚ฌ', 'ยฃ', 'ยฅ', 'โ€ข'],
    ['{numeric}', '.', ',', '?', '!', "'", '{backspace}'],
    ['{alphabetic}', '{space}', '{done}'],
],
email_alphabetic: [
    ['q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p'],
    ['a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l'],
    ['{shift}', 'z', 'x', 'c', 'v', 'b', 'n', 'm', '{backspace}'],
    ['{numeric}', '@', '{space}', '.', '{done}'],
],
email_shift: [
    ['a', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P'],
    ['A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L'],
    ['{shift}', 'Z', 'X', 'C', 'V', 'B', 'N', 'M', '{backspace}'],
    ['{numeric}', '@', '{space}', '.', '{done}'],
],
email_numeric: [
    ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0'],
    ['$', '!', '~', '&', '=', '#', '[', ']'],
    ['{symbolic}', '.', '_', '-', '+', '{backspace}'],
    ['{alphabetic}', '@', '{space}', '.', '{done}'],
],
email_symbolic: [
    ['`', '|', '{', '}', '?', '%', '^', '*', '/', "'"],
    ['$', '!', '~', '&', '=', '#', '[', ']'],
    ['{numeric}', '.', '_', '-', '+', '{backspace}'],
    ['{alphabetic}', '@', '{space}', '.', '{done}'],
],
url_alphabetic: [
    ['q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p'],
    ['a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l'],
    ['{shift}', 'z', 'x', 'c', 'v', 'b', 'n', 'm', '{backspace}'],
    ['{numeric}', '/', '.com', '.', '{done}'],
],
url_shift: [
    ['Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P'],
    ['A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L'],
    ['{shift}', 'Z', 'X', 'C', 'V', 'B', 'N', 'M', '{backspace}'],
    ['{numeric}', '/', '.com', '.', '{done}'],
],
url_numeric: [
    ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0'],
    ['@', '&', '%', '?', ',', '=', '[', ']'],
    ['{symbolic}', '_', ':', '-', '+', '{backspace}'],
    ['{alphabetic}', '/', '.com', '.', '{done}'],
],
url_symbolic: [
    ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0'],
    ['*', '$', '#', '!', "'", '^', '[', ']'],
    ['{numeric}', '~', ';', '(', ')', '{backspace}'],
    ['{alphabetic}', '/', '.com', '.', '{done}'],
],
numeric_default: [
    ['1', '2', '3'],
    ['4', '5', '6'],
    ['7', '8', '9'],
    ['0', '{backspace}'],
],
decimal_default: [
    ['1', '2', '3'],
    ['4', '5', '6'],
    ['7', '8', '9'],
    ['.', '0', '{backspace}'],
],
tel_default: [
    ['1', '2', '3', '*'],
    ['4', '5', '6', '#'],
    ['7', '8', '9', '+'],
    ['0', '{backspace}'],
],

};
const display: Display = {
'{done}': fnDisplay.DONE,
'{shift}': fnDisplay.SHIFT,
'{backspace}': fnDisplay.BACKSPACE,
'{space}': fnDisplay.SPACE,
'{alphabetic}': 'แƒแƒ‘แƒ’',
'{numeric}': '123',
'{symbolic}': '#+=',
};
const locale: Locale = {
code: 'ka-GE',
dir: 'ltr',
layouts: layouts,
display: display,
};
export default locale;

the enter key add an "\n" that should be limited to textarea only

the enter key adds an "\n" that should be limited to textarea only, it creates confusion with the backspace key

i fix it in my projet with

else if (button === fnButton.ENTER) { if (this._activeInputElement.type === "textarea") { output = this._addStringAt(output, '\n', ...commonParams); } }

Capture.video.du.15-04-23.14.36.28.webm

No directive found with exportAs 'ngxTouchKeyboard'

I'm trying to use this really great lib in my Angular 16 application, but even if I follow the read.me instructions, I can't create the
This is my app.module:

import { NgxTouchKeyboardModule }  from 'ngx-touch-keyboard';
...
@NgModule({
    declarations: [...],
    providers: [...],
    bootstrap: [AppComponent],
    imports: [..., NgxTouchKeyboardModule]
})

This is my html code:
<input type="text" ngxTouchKeyboard #touchKeyboard="ngxTouchKeyboard" (focus)="touchKeyboard.openPanel()"/>

And this the error that I receive: No directive found with exportAs 'ngxTouchKeyboard'
Image:
image

zoom factor

Could be great have a zoom factor to show bigger buttons

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.