The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
onsettings event

Occurs when the settings charm is invoked.
Syntax
WinJS.Application.addEventListener("settings", listenerName);
or
WinJS.Application.onsettings = listenerName;
Event information
| Synchronous | No |
|---|---|
| Bubbles | Yes |
| Cancelable | Yes |
Event handler parameters
- eventInfo
-
Type: CustomEvent
An object that contains information about the event. The detail property of this object contains the following sub-properties:
- type: "settings"
- applicationcommands: The property that you set to an array of settings commands. You then populate the SettingsFlyout with these commands by a call to SettingsFlyout.populateSettings.
Requirements
|
Minimum WinJS version |
WinJS 1.0 |
|---|---|
|
Namespace |
WinJS.Application |
See also
Show: