|
147 | 147 | * </div>
|
148 | 148 | * </pre>
|
149 | 149 | *
|
150 |
| - * The HTML specs do not require browsers to preserve the values of special attributes |
151 |
| - * such as disabled. (The presence of them means true and absence means false) |
152 |
| - * This prevents the Angular compiler from correctly retrieving the binding expression. |
153 |
| - * To solve this problem, we introduce the `ngDisabled` directive. |
| 150 | + * The HTML specification does not require browsers to preserve the values of boolean attributes |
| 151 | + * such as disabled. (Their presence means true and their absence means false.) |
| 152 | + * This prevents the Angular compiler from retrieving the binding expression. |
| 153 | + * The `ngDisabled` directive solves this problem for the `disabled` attribute. |
154 | 154 | *
|
155 | 155 | * @example
|
156 | 156 | <doc:example>
|
|
179 | 179 | * @restrict A
|
180 | 180 | *
|
181 | 181 | * @description
|
182 |
| - * The HTML specs do not require browsers to preserve the special attributes such as checked. |
183 |
| - * (The presence of them means true and absence means false) |
184 |
| - * This prevents the angular compiler from correctly retrieving the binding expression. |
185 |
| - * To solve this problem, we introduce the `ngChecked` directive. |
| 182 | + * The HTML specification does not require browsers to preserve the values of boolean attributes |
| 183 | + * such as checked. (Their presence means true and their absence means false.) |
| 184 | + * This prevents the Angular compiler from retrieving the binding expression. |
| 185 | + * The `ngChecked` directive solves this problem for the `checked` attribute. |
186 | 186 | * @example
|
187 | 187 | <doc:example>
|
188 | 188 | <doc:source>
|
|
210 | 210 | * @restrict A
|
211 | 211 | *
|
212 | 212 | * @description
|
213 |
| - * The HTML specs do not require browsers to preserve the special attributes such as readonly. |
214 |
| - * (The presence of them means true and absence means false) |
215 |
| - * This prevents the angular compiler from correctly retrieving the binding expression. |
216 |
| - * To solve this problem, we introduce the `ngReadonly` directive. |
| 213 | + * The HTML specification does not require browsers to preserve the values of boolean attributes |
| 214 | + * such as readonly. (Their presence means true and their absence means false.) |
| 215 | + * This prevents the Angular compiler from retrieving the binding expression. |
| 216 | + * The `ngReadonly` directive solves this problem for the `readonly` attribute. |
217 | 217 | * @example
|
218 | 218 | <doc:example>
|
219 | 219 | <doc:source>
|
|
241 | 241 | * @restrict A
|
242 | 242 | *
|
243 | 243 | * @description
|
244 |
| - * The HTML specs do not require browsers to preserve the special attributes such as selected. |
245 |
| - * (The presence of them means true and absence means false) |
246 |
| - * This prevents the angular compiler from correctly retrieving the binding expression. |
247 |
| - * To solve this problem, we introduced the `ngSelected` directive. |
| 244 | + * The HTML specification does not require browsers to preserve the values of boolean attributes |
| 245 | + * such as selected. (Their presence means true and their absence means false.) |
| 246 | + * This prevents the Angular compiler from retrieving the binding expression. |
| 247 | + * The `ngSelected` directive solves this problem for the `selected` atttribute. |
248 | 248 | * @example
|
249 | 249 | <doc:example>
|
250 | 250 | <doc:source>
|
|
274 | 274 | * @restrict A
|
275 | 275 | *
|
276 | 276 | * @description
|
277 |
| - * The HTML specs do not require browsers to preserve the special attributes such as open. |
278 |
| - * (The presence of them means true and absence means false) |
279 |
| - * This prevents the angular compiler from correctly retrieving the binding expression. |
280 |
| - * To solve this problem, we introduce the `ngOpen` directive. |
| 277 | + * The HTML specification does not require browsers to preserve the values of boolean attributes |
| 278 | + * such as open. (Their presence means true and their absence means false.) |
| 279 | + * This prevents the Angular compiler from retrieving the binding expression. |
| 280 | + * The `ngOpen` directive solves this problem for the `open` attribute. |
281 | 281 | *
|
282 | 282 | * @example
|
283 | 283 | <doc:example>
|
|
0 commit comments