This PR simplifies the binding of automated event listeners within Stimulus controllers by manipulating the data-action attribute on the relevant elements, instead of manually adding, removing and rebinding the event handlers.
coverage: 91.421%. remained the same
when pulling 4ddd8eb3d80282d755bb57cbed8d6597d5babe8c on stimulus-event-listeners
into bcd51247f0a96fd2de7208cd0595b923f70daa43 on main.
This PR simplifies the binding of automated event listeners within Stimulus controllers by manipulating the
data-action
attribute on the relevant elements, instead of manually adding, removing and rebinding the event handlers.