@@ -332,9 +332,10 @@ class InputCheckbox {
332
332
333
333
/**
334
334
* Creates a two-way databinding between the `ng-model` expression
335
- * and the `<input>` or `<textarea>` string-based input elements.
335
+ * and the `<input>` or `<textarea>` string-based input elements. `Selector: textarea[ng-model]`
336
+ * or `input[type=text|password|url|email|search|tel][ng-model]`
336
337
*
337
- * **Usage**
338
+ * **Usage**
338
339
*
339
340
* <input type="text|url|password|email|search|tel" ng-model="myModel">
340
341
* <textarea ng-model="myModel"></textarea>
@@ -397,7 +398,7 @@ class InputTextLike {
397
398
398
399
/**
399
400
* Creates a two-way databinding between the `ng-model` expression
400
- * and a numeric input element. `Selector:input[type=number|range][ng-model]
401
+ * and a numeric input element. `Selector:input[type=number|range][ng-model]`
401
402
*
402
403
* **Usage**
403
404
*
@@ -469,17 +470,17 @@ class InputNumberLike {
469
470
}
470
471
471
472
/**
472
- * This directive affects which IDL attribute will be used to read the value of
473
- * date/time related input directives. Recognized values for this directive are:
473
+ * Subordinate directive to [InputDateLike] that specifies the type for date/time related values.
474
+ * `Selector: input[type=date|time|datetime|datetime-local|month|week][ng-model][ng-bind-type]`
475
+ *
476
+ * This directive controls which IDL attribute is read and thus sets the type. This allows an app
477
+ * to support browsers that deviate from the HTML5 standard for date/time.
474
478
*
475
- * - [DATE] : [dom.InputElement] .valueAsDate will be read.
476
- * - [NUMBER] : [dom.InputElement] .valueAsNumber will be read.
477
- * - [STRING] : [dom.InputElement] .value will be read.
479
+ * Recognized values for this directive are:
478
480
*
479
- * The default is [DATE] . Use other settings, e.g., when an app needs to support
480
- * browsers that treat date-like inputs as text (in such a case the [STRING]
481
- * kind would be appropriate) or, for browsers that fail to conform to the
482
- * HTML5 standard in their processing of date-like inputs.
481
+ * - [DATE] : `dom.InputElement.valueAsDate` is read. (This is the default.)
482
+ * - [NUMBER] : `dom.InputElement.valueAsNumber` is read.
483
+ * - [STRING] : `dom.InputElement.value` is read.
483
484
*/
484
485
@Decorator (selector: 'input[type=date][ng-model][ng-bind-type]' , visibility: Visibility .LOCAL )
485
486
@Decorator (selector: 'input[type=time][ng-model][ng-bind-type]' , visibility: Visibility .LOCAL )
0 commit comments