Typo fixed. Closes #384
This commit is contained in:
parent
5f9ad5552d
commit
e6e66e1d2c
|
@ -133,7 +133,7 @@ figure.image-display
|
||||||
* A pipe is a class
|
* A pipe is a class
|
||||||
* We decorate the class with the `@Pipe` decorator function.
|
* We decorate the class with the `@Pipe` decorator function.
|
||||||
* The `@Pipe` decorator takes an object with a name property whose value is the
|
* The `@Pipe` decorator takes an object with a name property whose value is the
|
||||||
pipe name that we'll use within a template expression. It must be a valid JavaScript identier.
|
pipe name that we'll use within a template expression. It must be a valid JavaScript identifier.
|
||||||
Our pipe's name is `exponenentialStrength`.
|
Our pipe's name is `exponenentialStrength`.
|
||||||
* The pipe class implements a `transform` method
|
* The pipe class implements a `transform` method
|
||||||
* `transform` takes a value and an optional array of strings.
|
* `transform` takes a value and an optional array of strings.
|
||||||
|
@ -243,4 +243,4 @@ figure.image-display
|
||||||
of our views.
|
of our views.
|
||||||
|
|
||||||
Explore Angular's inventory of built-in pipes in the [API Reference](../api/).
|
Explore Angular's inventory of built-in pipes in the [API Reference](../api/).
|
||||||
Try writing a custom pipe and perhaps contributing it to the community.
|
Try writing a custom pipe and perhaps contributing it to the community.
|
||||||
|
|
Loading…
Reference in New Issue