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 11, 2019. It is now read-only.
Problem
I'm using Vue.js on the frontend and slowly replacing all parts of the app with it. But our backend Rails app is currently using Wiselinks. There is no way for me to hook into the page:always event from pure JS as jQuery events are not detectable with document.addEventListener('page:always') as (for some reason) they use a separate event system (see https://bugs.jquery.com/ticket/11047)
Any chance the library can be updated to send standard vanilla JS events in addition to jQuery trigger()?
Edit: I'd happily contribute a PR for this as well, basically replacing $(document).trigger with a triggerEvent() function that does both
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.
Problem
I'm using Vue.js on the frontend and slowly replacing all parts of the app with it. But our backend Rails app is currently using Wiselinks. There is no way for me to hook into the
page:always
event from pure JS as jQuery events are not detectable withdocument.addEventListener('page:always')
as (for some reason) they use a separate event system (see https://bugs.jquery.com/ticket/11047)Any chance the library can be updated to send standard vanilla JS events in addition to jQuery
trigger()
?Edit: I'd happily contribute a PR for this as well, basically replacing
$(document).trigger
with atriggerEvent()
function that does bothThe text was updated successfully, but these errors were encountered: