Compartir a través de


Command.tooltip property

Gets or sets the tooltip displayed for the Command.

Syntax

<element 
  data-win-control="WinJS.UI.Command"
  data-win-options="{tooltip: value}">
</element>
var tooltip = command.tooltip;
command.tooltip = tooltip;

Property value

Type: String**

The text of the tooltip. The default is the value of label.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

Command