The attribute parser should be improved to be able to understand binding names like this: bind-event(). This binding name should translate to any binding like this: bind-event(click)="view.onClick" while the new parameter in the parentheses will be passed into the bindings constructor() method along with the other parameters.
The binding name doesn't need to include the parentheses. bind-event maps bind-event(...) and bind-event. The parameter attribute will hand the text inside the parentheses to the binding constructor.
The attribute parser should be improved to be able to understand binding names like this:
bind-event()
. This binding name should translate to any binding like this:bind-event(click)="view.onClick"
while the new parameter in the parentheses will be passed into the bindingsconstructor()
method along with the other parameters.