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 Mar 24, 2020. It is now read-only.
I know that only 'click' and 'mouseover' and 'mouseout' are supported, but I want to effectively change 'click' on line 8 to 'touchend'. I'm having difficulty modifying the core jquery.usmap.js script to add this as an event. Has anyone done this?
I see the posts here where in the methods in the js, people are adding touchend in places such as:
" $(this.stateHitAreas[state].node).bind('click touchend', this._onClickProxy);"
But that does not allow an external event to be indicated, such as in my pastebin. It seems someone must have this implemented by now, so I thought I'd ask.
Thanks
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Note the code snippet at this pastebin:
http://pastebin.com/88K0AMb9
I know that only 'click' and 'mouseover' and 'mouseout' are supported, but I want to effectively change 'click' on line 8 to 'touchend'. I'm having difficulty modifying the core jquery.usmap.js script to add this as an event. Has anyone done this?
I see the posts here where in the methods in the js, people are adding touchend in places such as:
" $(this.stateHitAreas[state].node).bind('click touchend', this._onClickProxy);"
But that does not allow an external event to be indicated, such as in my pastebin. It seems someone must have this implemented by now, so I thought I'd ask.
Thanks
The text was updated successfully, but these errors were encountered: