.directive('keyboard', function () {
    return {
        
        restrict: 'C',
        link: function (scope, element, attr) {
            $(element).keyboard({
                usePreview: false,
                stickyShift: false,
                autoAccept: true,
                layout: 'custom',
                display: {
                    'clear': 'vider :Clear',
                },
                customLayout: {
                    'default': [
                        'a z e r t y u i o p',
                        'q s d f g h j k l m',
                        'w x c v b n é è {del}',
                        '{clear} {space} {cancel} {b}'
                    ]
                },
                visible: function (e, keyboard, el) {

                scope.newUser= el.value;

                }

it works

 change: function (e, keyboard, el) {

                scope.newUser= el.value;

                }

But i want  visible : 

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to