共用方式為


SettingsFlyout.onbeforeshow event

[settingFlyout is no longer available for use as of Windows Library for JavaScript (WinJS) 4.0 Preview.]

Raised just before showing a SettingsFlyout

Syntax

function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
settingsFlyout.addEventListener("beforeshow", handler);
settingsFlyout.removeEventListener("beforeshow", handler);

Event information

Synchronous No
Bubbles Yes
Cancelable Yes

 

Event handler parameters

  • eventInfo
    Type: Event**

    An object that contains information about the event.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

SettingsFlyout