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
JavaScript
Copy Code
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
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/mozcontactchangeevent/reason