Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 1105203

Browse files
vgvenkatgkalpak
authored andcommitted
docs(input[checkbox]): mention ngChecked
Closes #14465 Closes #15277
1 parent 70076ba commit 1105203

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)