This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -547,8 +547,11 @@ abstract class DetachAware {
547
547
}
548
548
549
549
/**
550
- * Use @[Formatter] annotation to register a new formatter. A formatter is a class
551
- * with a [call] method (a callable function).
550
+ * Use the @[Formatter] class annotation to register a new formatter.
551
+ *
552
+ * A formatter is a pure function that performs a transformation on input data from an expression.
553
+ * For more on formatters in Angular, see the documentation for the
554
+ * [angular:formatter] (#angular-formatter) library.
552
555
*
553
556
* Usage:
554
557
*
Original file line number Diff line number Diff line change 1
1
part of angular.formatter_internal;
2
2
3
3
/**
4
- * Formats a number as a currency (for example $ 1,234.56).
4
+ * Formats a number as a currency (for example 1,234.56$ ).
5
5
*
6
6
* When no currency symbol is provided, '$' is used. For more on formatters,
7
7
* see the [angular:formatter] (#angular-formatter) library.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ part of angular.formatter_internal;
23
23
*
24
24
*
25
25
* For more on explicit formatting of dates and date syntax, see the documentation for the
26
- * [DartFormat class] (http ://api.dartlang.org/docs/releases/latest/ intl/DateFormat.html ).
26
+ * [DartFormat class] (https ://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/ intl/intl.DateFormat ).
27
27
*
28
28
*/
29
29
@Formatter (name: 'date' )
You can’t perform that action at this time.
0 commit comments