mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +00:00
docs(select): add callout style for a note
This commit is contained in:
parent
3c12d36e73
commit
60e80509a8
1 changed files with 4 additions and 2 deletions
|
|
@ -28,10 +28,12 @@ var ngOptionsMinErr = minErr('ngOptions');
|
||||||
* be nested into the `<select>` element. This element will then represent the `null` or "not selected"
|
* be nested into the `<select>` element. This element will then represent the `null` or "not selected"
|
||||||
* option. See example below for demonstration.
|
* option. See example below for demonstration.
|
||||||
*
|
*
|
||||||
* Note: `ngOptions` provides iterator facility for `<option>` element which should be used instead
|
* <div class="alert alert-warning">
|
||||||
|
* **Note:** `ngOptions` provides iterator facility for `<option>` element which should be used instead
|
||||||
* of {@link ng.directive:ngRepeat ngRepeat} when you want the
|
* of {@link ng.directive:ngRepeat ngRepeat} when you want the
|
||||||
* `select` model to be bound to a non-string value. This is because an option element can only
|
* `select` model to be bound to a non-string value. This is because an option element can only
|
||||||
* be bound to string values at present.
|
* be bound to string values at present.
|
||||||
|
* </div>
|
||||||
*
|
*
|
||||||
* @param {string} ngModel Assignable angular expression to data-bind to.
|
* @param {string} ngModel Assignable angular expression to data-bind to.
|
||||||
* @param {string=} name Property name of the form under which the control is published.
|
* @param {string=} name Property name of the form under which the control is published.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue