Partager via


Flyout.onafterhide event

Occurs immediately after the Flyout is hidden.

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

Syntax

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

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