I'm talking about the Javascript event listeners. You should probably have a look at this Rails guide for understanding them better: edgeguides.rubyonrails.org/working...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Peter
I used this post to implement it with data-confirm-swal with SweetAlert. But now I'm migrating to Webpacker, but I just can't get it running here.
// Add event listener before the other Rails event listeners like the one
// for
method: :delete
What type of event listener were you talking about? Could you be more specific, Help would be highly appreciated.
I'm talking about the Javascript event listeners. You should probably have a look at this Rails guide for understanding them better: edgeguides.rubyonrails.org/working...