EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

Tooltip.Tooltip method

Applies to Windows only

Creates a new Tooltip.

Syntax


tooltip.tooltip(element, options);

Parameters

element

Type: Object

The DOM element associated that hosts the Tooltip.

options

Type: Object

An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events. Event names must begin with "on". For example, to provide a handler for the opened event, add a property named "onopened" to the options object and set its value to the event handler.

Return value

This method does not return a value.

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

Tooltip

 

 

Показ:
© 2014 Microsoft