Class

SafariExtensionSettingsChangeEvent

Instances of the SafariExtensionsSettingsChangeEvent class are used to provide a description of a change made to the extension’s settings. A settings change event is sent when your extension changes a setting as well as when a setting is changed outside your extension (for example, a setting changed in the Safari preferences).

Overview

These events do not bubble; their target is the settings or secure settings object that changed.

The event type for this class is change.

Topics

Getting Information About Changes to Settings

key

The key identifier of the setting that was changed.

newValue

The value after the settings change.

oldValue

The value before the settings change.

Relationships

Inherits From