次の方法で共有


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:

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Application

See also

SettingsFlyout.populateSettings