anchor property

Menu.anchor property

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Gets or sets the default anchor to be used for this Menu.

This value can be overridden by the anchor passed in the show method.

Syntax


var anchor = menu.anchor;
menu.anchor = anchor;

Property value

Type: HTMLElement

The DOM element to anchor the Menu.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

Menu

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft