fix(PropertyBindingParser): properly parse event bindings as actions
Fixes #981 Closes #987
This commit is contained in:
@ -66,7 +66,7 @@ export class PropertyBindingParser extends CompileStep {
|
||||
MapWrapper.set(newAttrs, bindParts[5], attrValue);
|
||||
} else if (isPresent(bindParts[6])) {
|
||||
// match: (event)
|
||||
current.addEventBinding(bindParts[6], this._parseBinding(attrValue, desc));
|
||||
current.addEventBinding(bindParts[6], this._parseAction(attrValue, desc));
|
||||
}
|
||||
} else {
|
||||
var ast = this._parseInterpolation(attrValue, desc);
|
||||
|
Reference in New Issue
Block a user