#863·stimulus

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

Author: art-solopovCreated Nov 30, 2025Updated Nov 30, 2025

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?

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