API Reference

<md-contact-chips> is an input component based on md-chips and makes use of an md-autocomplete element. The component allows the caller to supply a query expression which returns a list of possible contacts. The user can select one of these and add it to the list of chips.

You may also use the md-highlight-text directive along with it's parameters to control the appearance of the matched text inside of the contacts' autocomplete popup.

Usage

Attributes

Parameter Type Description
* ng-model stringobject stringobject

A model to bind the list of items to

* md-contacts expression expression

An expression expected to return contacts matching the search test, $query.

* md-contact-name string string

The field name of the contact object representing the contact's name.

* md-contact-email string string

The field name of the contact object representing the contact's email address.

* md-contact-image string string

The field name of the contact object representing the contact's image.

// The following attribute has been removed but may come back.

placeholder string string

Placeholder text that will be forwarded to the input.

secondary-placeholder string string

Placeholder text that will be forwarded to the input, displayed when there is at least on item in the list

filter-selected expression expression

Whether to filter selected contacts from the list of suggestions shown in the autocomplete.