共用方式為


Flyout.hide method

Hides the Flyout, if visible, regardless of other states.

Syntax

flyout.hide();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

If you want to perform an action after hiding an overlay, use the onafterhide 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