Improve this Doc View Source ngList

  1. directive in module ng

Text input that converts between a delimited string and an array of strings. The delimiter can be a fixed string (by default a comma) or a regular expression.

Directive Info

  • This directive executes at priority level 0.

Usage

  • as attribute:
    <input
      [ng-list=""]>
    ...
    </input>

Arguments

Param Type Details
ngList
(optional)
string

optional delimiter that should be used to split the value. If specified in form /something/ then the value will be converted into a regular expression.

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.2.32/docs/api/ng/directive/ngList