Text input that converts between a delimited string and an array of strings. The default delimiter is a comma followed by a space - equivalent to
ng-list=", ". You can specify a custom delimiter as the value of the
ngList attribute - for example,
ng-list=" | ".
The behaviour of the directive is affected by the use of the
ngTrimis set to
"false"then whitespace around both the separator and each list item is respected. This implies that the user of the directive is responsible for dealing with whitespace but also allows you to use whitespace as a delimiter, such as a tab or newline character.
<ANY [ng-list="string"]> ... </ANY>
| ngList |
| || |
optional delimiter that should be used to split the value.
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.