I’m trying to listen to a Chosen.js event (a jQuery plugin) but I’m not sure how to do this when I’m not using a build. I read these notes about listening to jQuery events on Stimulus actions:
But I’m confused as to how to incorporate jquery-events-to-dom-events - npm which the article points to.
Basically I have this element:
And the Chosen event is
$("#form_field").chosen().change( … );
(Chosen styles a select field.)