angular-material-npfixed
Version:
The Angular Material project is an implementation of Material Design in Angular.js. This project provides a set of reusable, well-tested, and accessible Material Design UI components. Angular Material is supported internally at Google by the Angular.js, M
19 lines (15 loc) • 645 B
HTML
<div ng-controller="CustomSeparatorCtrl as ctrl" layout="column" ng-cloak>
<md-content class="md-padding" layout="column">
<h2 class="md-title">Use <code>md-separator-keys</code> to customize the key codes which trigger chip creation.</h2>
<md-chips
ng-model="ctrl.tags"
md-separator-keys="ctrl.keys"
placeholder="Enter a tag"
secondary-placeholder="Comma separated tags"></md-chips>
<br/>
<h2 class="md-title">Add custom separator key codes such as semicolon for e-mails.</h2>
<md-chips
ng-model="ctrl.contacts"
md-separator-keys="ctrl.customKeys"></md-chips>
</md-content>
</div>