Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit da45504

Browse files
teropawardbell
authored andcommitted
docs(pipes): change description for parameters to reflect change in beta.16
closes #1197
1 parent fea2d1f commit da45504

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

public/docs/ts/latest/guide/pipes.jade

+3-2
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,10 @@ figure.image-display
125125
* A pipe is a class decorated with pipe metadata.
126126

127127
* The pipe class implements the `PipeTransform` interface's `transform` method that
128-
accepts an input value and an optional array of parameters and returns the transformed value.
128+
accepts an input value followed by optional parameters and returns the transformed value.
129129

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

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

0 commit comments

Comments
 (0)