Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 2b49054

Browse files
committed
docs(ng-model): Fix typos and style
1 parent 05d89a5 commit 2b49054

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/directive/ng_model.dart

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class NgModel extends NgControl implements AttachAware {
6969
}
7070

7171
/**
72-
* Resets the model value to it's original (pristine) value. If the model has been interacted
72+
* Resets the model value to its original (pristine) value. If the model has been interacted
7373
* with by the user at all then the model will be also reset to an "untouched" state.
7474
*/
7575
void reset() {
@@ -266,7 +266,7 @@ class NgModel extends NgControl implements AttachAware {
266266
* Creates a two-way databinding between the `ng-model` expression
267267
* and the checkbox input element state.
268268
*
269-
* Usage:
269+
* **Usage**
270270
*
271271
* <input type="checkbox"
272272
* ng-model="expr"
@@ -326,7 +326,7 @@ class InputCheckbox {
326326
* Creates a two-way databinding between the `ng-model` expression
327327
* and the `<input>` or `<textarea>` string-based input elements.
328328
*
329-
* Usage:
329+
* **Usage**
330330
*
331331
* <input type="text|url|password|email|search|tel" ng-model="myModel">
332332
* <textarea ng-model="myModel"></textarea>
@@ -391,11 +391,11 @@ class InputTextLike {
391391
* Creates a two-way databinding between the `ng-model` expression
392392
* and a numeric input element.
393393
*
394-
* Usage:
394+
* **Usage**
395395
*
396396
* <input type="number|range" ng-model="myModel">
397397
*
398-
* Model:
398+
* **Model**
399399
*
400400
* num myModel;
401401
*
@@ -674,7 +674,7 @@ final _uidCounter = new _UidCounter();
674674
* When the element is selected, the `ng-model` property of that element is set to the bound value.
675675
* Note that `expr` can be any type; i.e., it is not restricted to [String].
676676
*
677-
* Usage:
677+
* **Usage**
678678
*
679679
* <input type=radio ng-model=model [ng-value=expr]>
680680
*
@@ -712,7 +712,7 @@ class NgValue {
712712
* Assigns the value of a bound expression to the model when an input checkbox is
713713
* checked.
714714
*
715-
* Usage:
715+
* **Usage**
716716
*
717717
* <input type=checkbox
718718
* ng-model=model
@@ -736,7 +736,7 @@ class NgTrueValue {
736736
* Assigns the value of a bound expression to the model when an input checkbox is
737737
* unchecked.
738738
*
739-
* Usage:
739+
* **Usage**
740740
*
741741
* <input type=checkbox
742742
* ng-model=model
@@ -758,7 +758,7 @@ class NgFalseValue {
758758
* Creates a two-way databinding between the `ng-model` expression
759759
* and the radio input elements in the DOM.
760760
*
761-
* Usage:
761+
* **Usage**
762762
*
763763
* <input type="radio" name="foo" ng-model="category">
764764
*
@@ -809,7 +809,7 @@ class InputRadio {
809809
* Creates a two-way databinding between the expression specified in `ng-model` and the HTML element
810810
* in the DOM.
811811
*
812-
* Usage:
812+
* **Usage**
813813
*
814814
* <span contenteditable ng-model="name">
815815
*

0 commit comments

Comments
 (0)