MozContactChangeEvent.reason

This API is available on Firefox OS for privileged or certified applications only.

The reason property indicates what kind of change was made to the contact.

Syntax

var reason = instanceOfMozContactChangeEvent.reason

Value

Return a string. Possible value is one of update, create, or remove.

Specifications

The Contacts Manager API defines the properties added, modified and removed instead of the reason property.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
basic support No support No support No support No support No support
Feature Android Chrome for Android Firefox OS (Gecko) IE Mobile Opera Mobile Safari Mobile
basic support No support No support 1.0.1[1] No support No support No support

[1] As the specification is unstable, the Gecko implementation is completely non-standard.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, Sebastianz, teoli, MHasan, kscarfone, Jeremie
 Last updated by: chrisdavidmills,