Skip to content

cempehlivan/cp-keyboard-angularjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cp-keyboard-angularjs

Demo

Demo

Example:

<input type="text" ng-model="foo" cp-keyboard>

Custom Add Rows Controller:

$scope.loginKeyboardCustomRows = [
    {
        chars: [
            {
                action: "hide",
                lowercase: { text: "OK", value: "" },
                uppercase: { text: "OK", value: "" },
            },
            {
                action: function () {
                    console.log('send action');
                },
                lowercase: {text: "Send",value: ""},
                uppercase: { text: "Send",value: ""},
            },
        ]
    }
];

Html:

<input type="text" ng-model="user.userName" cp-keyboard custom-rows="loginKeyboardCustomRows">

Service:

cpKeyboardService

About

Angularjs keyboard directive

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published