docs(forms): move extended text to @usageNotes (#26039)

Headings are not allowed in the basic description block.

PR Close #26039
This commit is contained in:
Pete Bacon Darwin
2018-09-20 15:18:14 +01:00
committed by Kara Erickson
parent 32ad2438ca
commit 7d39bc68fb
16 changed files with 106 additions and 68 deletions

View File

@ -20,10 +20,13 @@ export const NUMBER_VALUE_ACCESSOR: any = {
* The accessor for writing a number value and listening to changes that is used by the
* `NgModel`, `FormControlDirective`, and `FormControlName` directives.
*
* ### Example
* ```
* <input type="number" [(ngModel)]="age">
* ```
* @usageNotes
* ### Example
*
* ```
* <input type="number" [(ngModel)]="age">
* ```
*
* @ngModule FormsModule
* @ngModule ReactiveFormsModule
*/