Partager via


Flyout.onaftershow event

Occurs immediately after the Flyout is displayed.

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

Syntax

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

flyout.onaftershow = 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