What is the complete list of events supported by angular's updateOn property of ngModelOptions?
As far as i know, you can bind any available DOM event to the updateOn
property. see a full list here.
Having a look at the Source of ngModel
, you can see that the options passed to updateOn
will get bound to the actual element itself.
https://github.com/angular/angular.js/blob/master/src/ng/directive/ngModel.js#L1188
Angular Source:
if (modelCtrl.$options.getOption('updateOn')) {
element.on(modelCtrl.$options.getOption('updateOn'), function(ev) {
modelCtrl.$$debounceViewValueCommit(ev && ev.type);
});
}