Flyout.onbeforeshow event

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

Synchronous No
Bubbles Yes
Cancelable No

 

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