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

Commit 33ab261

Browse files
docs(booleanAttrs): improve parameter docs for boolean attributes
1 parent 230ff05 commit 33ab261

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/ng/directive/booleanAttrs.js

+10-5
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@
140140
</doc:example>
141141
*
142142
* @element INPUT
143-
* @param {expression} ngDisabled Angular expression that will be evaluated.
143+
* @param {expression} ngDisabled If the {@link guide/expression expression} is truthy,
144+
* then special attribute "disabled" will be set on the element.
144145
*/
145146

146147

@@ -170,7 +171,8 @@
170171
</doc:example>
171172
*
172173
* @element INPUT
173-
* @param {expression} ngChecked Angular expression that will be evaluated.
174+
* @param {expression} ngChecked If the {@link guide/expression expression} is truthy,
175+
* then special attribute "checked" will be set on the element.
174176
*/
175177

176178

@@ -206,7 +208,8 @@
206208
</doc:example>
207209
*
208210
* @element SELECT
209-
* @param {expression} ngMultiple Angular expression that will be evaluated.
211+
* @param {expression} ngMultiple If the {@link guide/expression expression} is truthy,
212+
* then special attribute "multiple" will be set on the element.
210213
*/
211214

212215

@@ -236,7 +239,8 @@
236239
</doc:example>
237240
*
238241
* @element INPUT
239-
* @param {string} expression Angular expression that will be evaluated.
242+
* @param {string} expression If the {@link guide/expression expression} is truthy,
243+
* then special attribute "readonly" will be set on the element.
240244
*/
241245

242246

@@ -269,7 +273,8 @@
269273
</doc:example>
270274
*
271275
* @element OPTION
272-
* @param {string} expression Angular expression that will be evaluated.
276+
* @param {string} expression If the {@link guide/expression expression} is truthy,
277+
* then special attribute "selected" will be set on the element.
273278
*/
274279

275280

0 commit comments

Comments
 (0)