Telerik UI for Windows 8 HTML

Shows the menu, optionally relative to a target, at a position and offset.

Namespace: Telerik.UI
Assembly:  (in WinJS.exe) Version:

Syntax

JavaScript
instance.show(target, position, offsetLeft, offsetTop);

Parameters

target
Type: HTMLElement
The target HTML element or CSS selector.
position
Type: string
The position relative to the target HTML element where to display the menu. Accepted values are "top", "bottom", "left", "right", "center", "top left", "top right", "bottom left" and "bottom right".
offsetLeft
Type: Number
The left offset relative to the specified target and position.
offsetTop
Type: Number
The top offset relative to the specified target and position.

Return Value

Type: Promise

See Also