Each becomes a method the component's tag listens with: @<event>.
The handler is called with report first – report(name, value) sets
input$<id>_<name> – then the event's own arguments, and this the
Vue instance.
Arguments
- ns_id
The namespaced id.
- on
A named list of
JS()functions.