Formats a collection of values.
<normal-text value.bind="['foo', 'bar', 'fiz'] | formatList"></normal-text><!-- Renders: foo, bar, and fiz --><normal-text value.bind="['foo', 'bar', 'fiz', 'baz'] | formatList"></normal-text><!-- Renders: foo, bar and 3 others --> Copy
<normal-text value.bind="['foo', 'bar', 'fiz'] | formatList"></normal-text><!-- Renders: foo, bar, and fiz --><normal-text value.bind="['foo', 'bar', 'fiz', 'baz'] | formatList"></normal-text><!-- Renders: foo, bar and 3 others -->
Note that custom i18n key and a function that provides i18n options can also be used.
Optional
Formats a collection of values.
Example
Note that custom i18n key and a function that provides i18n options can also be used.