cable_ready icon indicating copy to clipboard operation
cable_ready copied to clipboard

Draft: Futurism updates-for support

Open xtr3me opened this issue 3 years ago • 0 comments

This PR accompanies the following Futurism PR: https://github.com/stimulusreflex/futurism/pull/120

Since I found no other way to instruct morphdom to not mutate the futurism-element I introduced a data attribute to instruct the updates-for element to not call morphdom in the first place.

Secondly I introduced a data attribute that is used to emit a event to the provided selector. This allows futurism to listen to the event and call it's futurism actioncable channel and refresh it's partial without glitching

xtr3me avatar Nov 25 '21 09:11 xtr3me