Поделиться через


Flyout.onbeforehide event

Occurs before 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("beforehide", handler);
flyout.removeEventListener("beforehide", handler);
 
- or -

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