В angular js что означает cust как cust.CustomerName для cust во всех записях - PullRequest
0 голосов
/ 08 января 2020

Здесь используется код html.

Что означает cust as cust.CustomerName for cust in allRecords? Я не могу понять, так как я новичок в angular-js.

<input type="text" class="form-control" id="CustomerName" name="CustomerName"
       ng-model="customerDto.CustomerName"
       uib-typeahead="cust as cust.CustomerName for cust in allRecords | filter : $viewValue "
       typeahead-select-on-exact="true" autocomplete="off"
       ng-keyup="getcustomerlist($event)"
       typeahead-min-length="3"
       typeahead-on-select="onSelectCustomer()" />
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...