The Outlets API was introduced in Stimulus v3.2.0.
It would be great to have a Twig function to generate the data attribute data-[identifier]-[outlet-name]-outlet="[selector]" in the templates, just like stimulus_controller, stimulus_action and stimulus_target functions.
Should I try to make a PR or is someone already working on this ?
Hello there,
The Outlets API was introduced in Stimulus v3.2.0.
It would be great to have a Twig function to generate the data attribute
data-[identifier]-[outlet-name]-outlet="[selector]"
in the templates, just likestimulus_controller
,stimulus_action
andstimulus_target functions
.Should I try to make a PR or is someone already working on this ?