docs: api doc cleanup (#31377)

PR Close #31377
This commit is contained in:
Judy Bogart
2019-07-01 12:31:42 -07:00
committed by Jason Aden
parent 35f8bfce8b
commit 40aaa42f44
18 changed files with 184 additions and 210 deletions

View File

@ -7,17 +7,15 @@
*/
/**
* To create a Pipe, you must implement this interface.
*
* An interface that is implemented by pipes in order to perform a transformation.
* Angular invokes the `transform` method with the value of a binding
* as the first argument, and any parameters as the second argument in list form.
*
* @usageNotes
* ### Example
*
* The `RepeatPipe` below repeats the value as many times as indicated by the first argument:
* In the following example, `RepeatPipe` repeats a given value a given number of times.
*
* ```
* ```ts
* import {Pipe, PipeTransform} from '@angular/core';
*
* @Pipe({name: 'repeat'})