DeviceStorageChangeEvent.reason

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

Summary

The reason property gives the nature of the change that occurred.

Syntax

JavaScript
var reason = instanceOfDeviceStorageChangeEvent.reason;

Value

A string representing the reason for the change. Possible values are: created, modified, or deleted.

Specification

Not part of any specification.

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/devicestoragechangeevent/reason

API B2G Device Storage Firefox OS Property Reference Référence WebAPI