<tooltip>

JavaScript: lz.tooltip
extends <node> » lz.Eventable »
This class allows you to show a floating "tooltip" on any view. To use it you make it a child of a view. The parent view has to be clickable for the tooltip to work. Setting clickable to false will disable the tooltip. For example:
The appearance of the tooltip is determined by a view on the canvas which must be named "tooltipview" and have a setText method and options="ignorelayout"

Attributes

Name Type (tag) Type (js) Default Category
p_yoffset expression any 15 read/write
  offset of tooltip from parent view
text text String   read/write
  text that appears in the tooltip. null or empty string means tooltip will not show.
tipalign string String   read/write
  values = "'right',''" attribute to align a tooltip 'right' so that it's right edge is flush with it's parent's right edge ( minus 10 pixel inset ).
tipvalign string String   read/write
  values = "'above','below',''" attribute to control if the tooltip shows up above or below the mouse position. Leaving this value empty indicates a best guess will be made by the component. '

Methods

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy