docs: clarify CurrencyPipe display property (#25852)

Clarify how to suppress the currency/code in the CurrencyPipe by passing an empty string.

PR Close #25852
This commit is contained in:
Ash Kyd 2018-09-07 10:04:34 +02:00 committed by Jason Aden
parent f543d71cc3
commit c9cfcfa728
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ export class CurrencyPipe implements PipeTransform {
* For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the
* locale has no narrow symbol, uses the standard symbol for the locale.
* - String: Use the given string value instead of a code or a symbol.
* For example, an empty string will suppress the currency & symbol.
* - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.
*
* @param digitsInfo Decimal representation options, specified by a string