共用方式為


Flyout.element property

Gets the Document Object Model (DOM) element that hosts the Flyout.

Syntax

var element = flyout.element;

Property value

Type: HTMLElement

The DOM element that hosts the Flyout.

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