A tour of how the Widget (Virtual DOM) code in Discourse works

It depends on your widget. In @eviltrout’s example, the my-widget expects to be passed an action named “deleteThing”. Different widgets will use different names for their actions (and indeed, it’s possible for them to call their action “action”)

4 « J'aime »