Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions public/docs/ts/latest/guide/pipes.jade
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ figure.image-display
* A pipe is a class decorated with pipe metadata.

* The pipe class implements the `PipeTransform` interface's `transform` method that
accepts an input value and an optional array of parameters and returns the transformed value.
accepts an input value and some optional parameter arguments and returns the transformed value.

* There will be one item in the parameter array for each parameter passed to the pipe
* There will be one additional argument to the `transform` method for each parameter passed to the pipe.
Our pipe has one such parameter: The `exponent`.

* We tell Angular that this is a pipe by applying the
`@Pipe` decorator which we import from the core Angular library.
Expand Down