Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] - Add keyboard events, onOpen and onClose #70

Open
mussacharles60 opened this issue Nov 12, 2022 · 0 comments
Open

[FEAT] - Add keyboard events, onOpen and onClose #70

mussacharles60 opened this issue Nov 12, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mussacharles60
Copy link

I don't know when the keyboard is opened or closed

I would like to know when a keyboard is fucussed or not, eg: on init or run functions should have the onOpen and onClose callbacks
for better experience

For example:

KioskBoard.init({
     // some codes,
    onOpen: () => {
      // keyboard opened
    },
    onClose: () => {
      // keyboard closed
    }
});

Or

KioskBoard.run('.js-kioskboard-input', {
    // some codes,
    onOpen: () => {
      // keyboard opened
    },
    onClose: () => {
      // keyboard closed
    }
});
@mussacharles60 mussacharles60 added the enhancement New feature or request label Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants