Name | Type | Default | ||||
---|---|---|---|---|---|---|
arrowOffsetValue | Number | 0 | ||||
Sets or gets the arrow's offset from its default position. Code examples
Set the
Get the
Try it: arrowOffsetValue is set to 10
|
||||||
animationOpenDelay | String/Number | 'fast' | ||||
The time for showing of the widget. Possible Values:
Code examples
Set the
Get the
Try it: animationOpenDelay is set to 100
|
||||||
animationCloseDelay | String/Number | 'fast' | ||||
The time for showing of the widget. Possible Values:
Code examples
Set the
Get the
Try it: animationCloseDelay is set to 50
|
||||||
autoClose | Boolean | true | ||||
Sets or gets the closing of the widget after click outside of the popover. Code examples
Set the
Get the
Try it: autoClose is set to true
|
||||||
animationType | String | 'none' | ||||
Sets the type of animation. Possible Values:
Code example
Set the
Get the
Try it: animationType is set to 'fade'
|
||||||
height | Number/String | null | ||||
Sets or gets the popover's height. Code examples
Set the
Get the
Try it: height is set to 50
|
||||||
initContent | String | null | ||||
Initializes the popover's content. Code examples
Set the
Get the
|
||||||
isModal | Boolean | false | ||||
Sets or gets whether the popover is displayed as a modal dialog. If the jqxPopover's mode is set to modal, the popover blocks user interaction with the underlying user interface. Code examples
Set the
Get the
Try it: isModal is set to true
|
||||||
offset | Object | null | ||||
Sets or gets the Popover's offset from its position. Code example
Set the
Get the
|
||||||
position | String | 'left' | ||||
Sets or gets the position of the popover. The position presents the orientation of the popover compared to the selector element Possible Values:
Code examples
Set the
Get the
Try it: position is set to 'left'
|
||||||
rtl | Boolean | false | ||||
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts. Code example
Set the
Get the
Try it: rtl is set to true
|
||||||
selector | Id/jQuery Selector | null | ||||
Sets or gets the Popover's selector. The selector is the element where the Popover is displayed. Code examples
Set the
Get the
Try it: selector is set to $("#button")
|
||||||
showArrow | Boolean | true | ||||
Sets or gets the displaying of the popover's arrow. Code examples
Set the
Get the
Try it: showArrow is set to true
|
||||||
showCloseButton | Boolean | false | ||||
Sets or gets whether the close button is displayed. Code examples
Set the
Get the
Try it: showCloseButton is set to true
|
||||||
width | Number/String | null | ||||
Sets or gets the popover's width. Code examples
Set the
Get the
Try it: width is set to 200
|
||||||
title | String | "" | ||||
Sets or gets the popover's title. Code examples
Set the
Get the
Try it: title is set to "Title"
|
||||||
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 'arctic'
|
||||||
Events |
||||||
close | Event | |||||
This event is triggered when the popover is closed. Code examples
Bind to the
|
||||||
open | Event | |||||
This event is triggered when the popover is opened. Code examples
Bind to the
|
||||||
Methods |
||||||
close | Method | |||||
Closes the popover.
None Code examples
Invoke the
Try it: closes the popover
|
||||||
destroy | Method | |||||
Destroy the widget.
None Code examples
Invoke the
Try it: destroy the widget
|
||||||
open | Method | |||||
Open the popover.
None Code examples
Invoke the
Try it: opens the widget
|