You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
When instantiating a new panel with data-dismissible it would be ideal not register the events ['keyup.panel', 'pagehide', 'swipeleft.panel', 'swiperight.panel', etc..]. Also it would be useful to be able to unregister the event on element level rather than on page or document level. If required i can make a pull request implementing a fix.
The text was updated successfully, but these errors were encountered:
You can use .off function to unregister the events on the element. Also as mentioned on http://api.jquerymobile.com/panel/#option-dismissible dismissible is specifically about clicking so we can't really not register the events you mentioned. Though, I will pick up this issue in this week's meeting. Closing as of now.
When instantiating a new panel with data-dismissible it would be ideal not register the events ['keyup.panel', 'pagehide', 'swipeleft.panel', 'swiperight.panel', etc..]. Also it would be useful to be able to unregister the event on element level rather than on page or document level. If required i can make a pull request implementing a fix.
The text was updated successfully, but these errors were encountered: