mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08:00
ng-change ng:change
This commit is contained in:
@@ -193,7 +193,7 @@ function inputWidget(events, modelAccessor, viewAccessor, initFn) {
|
||||
var scope = this,
|
||||
model = modelAccessor(scope, element),
|
||||
view = viewAccessor(scope, element),
|
||||
action = element.attr('ng-change') || '',
|
||||
action = element.attr('ng:change') || '',
|
||||
lastValue;
|
||||
initFn.call(scope, model, view, element);
|
||||
this.$eval(element.attr('ng:init')||'');
|
||||
|
||||
Reference in New Issue
Block a user