Skip to content

Commit bab473f

Browse files
vgvenkatpetebacondarwin
authored andcommitted
docs(input[checkbox]): mention ngChecked
Closes angular#14465 Closes angular#15277
1 parent 20fe4cf commit bab473f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ng/directive/input.js

+3
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,9 @@ var inputType = {
11121112
* Can be interpolated.
11131113
* @param {string=} ngChange Angular expression to be executed when the ngModel value changes due
11141114
* to user interaction with the input element.
1115+
* @param {expression=} ngChecked If the expression is truthy, then the `checked` attribute will be set on the
1116+
* element. **Note** : `ngChecked` should not be used alongside `ngModel`.
1117+
* Checkout {@link ng.directive:ngChecked ngChecked} for usage.
11151118
*
11161119
* @example
11171120
<example name="range-input-directive" module="rangeExample">

0 commit comments

Comments
 (0)