Tooltip.open method

Applies to Windows only

Shows the Tooltip.

Syntax


tooltip.open(type);

Parameters

type [optional]

Type: String

A value that specifies when to show the Tooltip. The default value is "mousedown".

ValueMeaning
"touch"

Show a tooltip for a touch interaction. The tooltip has the same opening delay as touch down and doesn't close automatically.

"mouseover"

Show a tooltip for a mouse over interaction. The tooltip has the same opening delay as mouse over and will close automatically after a mouse over timeout.

"mousedown"

Show a tooltip for a mouse down interaction. The tooltip has no opening delay and doesn't close automatically.

"keyboard"

Show a tooltip for a keyboard interaction. The tooltip has the same opening delay as keyboard focus and will close automatically after a keyboard focus timeout.

 

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

 

 

Show:
© 2014 Microsoft