mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-08 09:07:46 +08:00
docs(ngModelOptions): mention that it's inherited
Closes #9096 Closes #7212
This commit is contained in:
committed by
Peter Bacon Darwin
parent
06280a14b4
commit
cfdd16157e
@@ -2803,6 +2803,8 @@ var ngValueDirective = function() {
|
||||
* `submit` event. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit`
|
||||
* to have access to the updated model.
|
||||
*
|
||||
* `ngModelOptions` has an effect on the element it's declared on and its descendants.
|
||||
*
|
||||
* @param {Object} ngModelOptions options to apply to the current model. Valid keys are:
|
||||
* - `updateOn`: string specifying which event should be the input bound to. You can set several
|
||||
* events using an space delimited list. There is a special event called `default` that
|
||||
|
||||
Reference in New Issue
Block a user