Skip to content

Idea: integrate with Invokers API (once it becomes available) #863

Description

@art-solopov

Recently found out about the Invokers API (which, in itself, looks a bit like an attempt to make native web a bit more Stimulus-like) and thought that it would be awesome if you could specify actions in response to specific commands in the controller.

Something similar to how keydown works maybe?

<div data-controller="calculator">
    <!-- ... -->
    <output data-action="command.calculate->calculator#calculate command.reset->calculator#clear">
    </output>
</div>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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