Information
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.

Flyout.onbeforeshow event

Applies to Windows only

Occurs immediately before a hidden Flyout is displayed.

Learn about events with Quickstart: adding HTML controls and handling events.

Syntax


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

flyout.onbeforeshow = handler;


Event information

SynchronousNo
BubblesYes
CancelableNo

 

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

Flyout
Menu
MenuCommand
Displaying popups
Laying out your UI
HTML flyout control sample
Designers
Command patterns
Flyout
Guidelines for flyouts
Context menu
Guidelines for context menus

 

 

Show: