skol-pro / ion-digit-keyboard-v2

A digital keyboard plugin to use in Ionic 2 applications.
MIT License
94 stars 40 forks source link

How to unsubscribe and use clear() method ? #3

Closed mohamdio closed 7 years ago

mohamdio commented 7 years ago

Hi, i need to know how to unsubscribe and clear() all events when IonDigitKeyboard.hide(); because i using this keyboard on more than one page, which now when leave from one page and keyboard is show on another page, the last events example [ leftActionClick, rightActionClick ] still come from first page

// @TODO unsubscribe and use clear() method

thanks for your time regards

skol-pro commented 7 years ago

Hi mohamdio ! Indeed, I still need to do that part, won't have time this week. However, I recommend you to use only one keyboard, globally, in your application main html.

mohamdio commented 7 years ago

Okay, i will using Event way for now .. thanks