It would be nice to be able to pass custom parameters in the [data-call.params].
Today we are limited to $el, and $event but I may potentially need to pass a value.
Also, think about being able to pass multiple parameters: e.g. :
<button data-call=“foo#bar.beer" data-call.params=“$el,'Le Trou du Diable Saison du Tracteur'">Give me that beer !</button>
It would be nice to be able to pass custom parameters in the [data-call.params].
Today we are limited to
$el, and$eventbut I may potentially need to pass a value.Also, think about being able to pass multiple parameters: e.g. :
<button data-call=“foo#bar.beer" data-call.params=“$el,'Le Trou du Diable Saison du Tracteur'">Give me that beer !</button>