Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
absolutePositionX | Number/String | 0 | ||||||
Sets or gets the tooltip's horizontal position if the position property is set to 'absolute'. Code examples
Set the
Get the
Try it: absolutePositionX is set to 10
|
||||||||
absolutePositionY | Number/String | 0 | ||||||
Sets or gets the tooltip's vertical position if the position property is set to 'absolute'. Code examples
Set the
Get the
Try it: absolutePositionY is set to 10
|
||||||||
autoHide | Boolean | true | ||||||
Sets or gets whether the tooltip will automatically hide after duration equal to the autoHideDelay property. Code examples
Set the
Get the
Try it: autoHide is set to false
|
||||||||
autoHideDelay | Number | 3000 | ||||||
Sets or gets the duration after which the tooltip automatically hides (works only
if the autoHide property is set to true). If Code examples
Set the
Get the
Try it: autoHideDelay is set to 100
|
||||||||
animationShowDelay | Number/String | 'fast' | ||||||
Sets or gets the duration of the tooltip animation at show. Code examples
Set the
Get the
|
||||||||
animationHideDelay | Number/String | 'fast' | ||||||
Sets or gets the duration of the tooltip animation at hide. Code examples
Set the
Get the
|
||||||||
content | String | '' | ||||||
Sets or gets the content of jqxTooltip. It can be either plain text or HTML code. Code examples
Set the
Get the
|
||||||||
closeOnClick | Boolean | true | ||||||
Sets or gets whether the tooltip will close if it is clicked. Code examples
Set the
Get the
Try it: closeOnClick is set to false
|
||||||||
disabled | Boolean | false | ||||||
Sets or gets whether the tooltip is disabled. Code examples
Set the
Get the
Try it: disabled is set to true
|
||||||||
enableBrowserBoundsDetection | Boolean | true | ||||||
Sets or gets whether jqxTooltip will be hidden if it leaves the browser bounds or will be offset so that it is always within the browser's bounds and visible. Code examples
Set the
Get the
|
||||||||
height | Number/String | 'auto' | ||||||
Sets or gets the height of jqxTooltip. Code examples
Set the
Get the
Try it: height is set to 30
|
||||||||
left | Number/String | 0 | ||||||
Sets or gets the horizontal offset of jqxTooltip based on the position property. Code examples
Set the
Get the
Try it: left is set to 100
|
||||||||
name | String | '' | ||||||
Sets or gets the name of the tooltip's group. Only one tooltip from a group can be shown at a time. By default, all tooltips are in a single group. Code examples
Set the
Get the
Try it: name is set to 'tooltipGroup'
|
||||||||
opacity | Number | 0.9 | ||||||
Sets or gets the tooltip's opacity.The value must be between 0 and 1. Code examples
Set the
Get the
Try it: opacity is set to 0.5
|
||||||||
position | String | 'default' | ||||||
Sets or gets the position of jqxTooltip. Possible Values:
Code examples
Set the
Get the
Try it: position is set to 'top'
|
||||||||
rtl | Boolean | false | ||||||
Sets or gets whether the jqxTooltip's right-to-left support is enabled. Code examples
Set the
Get the
Try it: rtl is set to true
|
||||||||
showDelay | Number | 100 | ||||||
Sets or gets the duration after which the tooltip will be shown. Code examples
Set the
Get the
Try it: showDelay is set to 200
|
||||||||
showArrow | Boolean | true | ||||||
Sets or gets whether the tooltip's arrow will be shown. Code examples
Set the
Get the
Try it: showArrow is set to false
|
||||||||
top | Number/String | 0 | ||||||
Sets or gets the vertical offset of jqxTooltip based on the position property. Code examples
Set the
Get the
Try it: top is set to 100
|
||||||||
trigger | String | 'hover' | ||||||
Sets or gets the way of triggering the tooltip. Possible Values:
Code examples
Set the
Get the
Try it: trigger is set to 'click'
|
||||||||
theme | String | '' | ||||||
Sets the widget's theme. jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file. In order to set a theme, you need to do the following:
Try it: theme is set to 'energyblue'
|
||||||||
width | Number/String | 'auto' | ||||||
Sets or gets the width of jqxTooltip. Code examples
Set the
Get the
Try it: width is set to 200
|
||||||||
Events |
||||||||
close | Event | |||||||
This event is triggered when the tooltip is closed (hidden). Code examples
Bind to the
|
||||||||
closing | Event | |||||||
This event is triggered when the tooltip is closing. Code examples
Bind to the
|
||||||||
open | Event | |||||||
This event is triggered when the tooltip is opened (shown). Code examples
Bind to the
|
||||||||
opening | Event | |||||||
This event is triggered when the tooltip is opening. Code examples
Bind to the
|
||||||||
Methods |
||||||||
close | Method | |||||||
Specifies a time before the tooltip closes. If it is not set, the tooltip closes immediately.
None Code examples
Invoke the
Try it: closes the jqxTooltip.
|
||||||||
destroy | Method | |||||||
Destroys the tooltip by removing it from the DOM.
None Code examples
Invoke the
Try it: destroy the jqxTooltip.
|
||||||||
open | Method | |||||||
Opens the tooltip.
None Code examples
Invoke the
Try it: opens the jqxTooltip.
|
||||||||
refresh | Method | |||||||
Refreshes the tooltip.
None Code examples
Invoke the
Try it: refreshes the jqxTooltip.
|