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


Menu.hide method

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

Syntax

menu.hide();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

Menu

MenuCommand

WinJS.UI Namespace

MenuCommand

Flyout

Displaying popups

Laying out your UI

HTML flyout control sample

Designers

Command patterns

Flyout

Guidelines for flyouts

Context menu

Guidelines for context menus