Flyout.show method
Shows the Flyout, if hidden, regardless of other states.
Syntax
flyout.show(anchor, placement, alignment);
Parameters
anchor
Type: HTMLElementRequired. The DOM element to anchor the Flyout.
placement
Type: ObjectThe placement of the Flyout to the anchor: the string literal "top", "bottom", "left", or "right".
alignment
Type: ObjectFor "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 WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |
See also
Designers
Guidelines for flyouts
Guidelines for context menus