Flyout.show method

Applies to Windows only

Shows the Flyout, if hidden, regardless of other states.

Syntax


flyout.show(anchor, placement, alignment);

Parameters

anchor

Type: HTMLElement

Required. The DOM element to anchor the Flyout.

placement

Type: Object

The placement of the Flyout to the anchor: the string literal "top", "bottom", "left", or "right".

alignment

Type: Object

For "top" or "bottom" placement, the alignment of the Flyout to the anchor's edge: the string literal "center", "left", or "right".

Return value

This method does not return a value.

Remarks

If you want to perform an action after showing an overlay, use the onaftershow event.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

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

 

 

Show:
© 2014 Microsoft. All rights reserved.