show

shows a tooltip

void show(object data,object position);

Parameters

dataobjectthe data passed into the tooltip, includes two properties: id - data item id and value - data item value
positionobjectthe position of the tooltip set in x and y coordinates

Example

$$("tooltip").show({id:1, value:"template"}, {x:0, y:0});

See also
  • API
  • Articles
  • Back to top