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
The old jQuery event interface for listening to Pronto events has been modified:
...from...
$(window).on('pronto.request',function(event,eventInfo){//event holds the name of the event againvartarget=eventInfo.target||eventInfo.srcElement;console.debug(target)//target holds originary event info})
...to...
window.addEventListener('pronto.request',function(event){vartarget=event.data.target||event.data.srcElement;//intermediate data attributeconsole.debug(target)//target holds originary event info})
Are you happy with this change?
(It breaks backward compatibility, but is arguably a simplification, because only one parameter is passed to the handler...)
The text was updated successfully, but these errors were encountered:
The old jQuery event interface for listening to Pronto events has been modified:
...from...
...to...
Are you happy with this change?
(It breaks backward compatibility, but is arguably a simplification, because only one parameter is passed to the handler...)
The text was updated successfully, but these errors were encountered: