Skip to content

Add Twig function and filter for Stimulus Outlets integration #205

Closed
@pbories

Description

@pbories

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 like stimulus_controller, stimulus_action and stimulus_target functions.

Should I try to make a PR or is someone already working on this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions