Javascript (Usage) | |
---|---|
$(function () { var options; // Type: wijmo.popup.wijpopup.options $(".selector").wijpopup(options); }); |
Javascript (Specification) | |
---|---|
|
Name | Description | |
---|---|---|
autoHide | Default value: false Determines whether to automatically hide the popup when clicking outside the element. | |
ensureOutermost | Default value: false Determines if the element's parent element is the outermost element. | |
hideDuration | Default value: 100 A value that indicates the number of milliseconds it takes for the indicated animation effect to completely hide the popup. | |
hideEffect | Default value: 'hide' Specifies the effect to be used when the popup is hidden. | |
hideOptions | Specifies the object/hash including specific options for the hide effect. | |
position | Options for positioning the element, please see jquery.ui.position for possible options. | |
showDuration | Default value: 300 A value that indicates the number of milliseconds it takes for the indicated animation effect to completely show the popup. | |
showEffect | Default value: 'show' Specifies the effect to be used when the popup is shown. | |
showOptions | Specifies the object/hash including specific options for the show effect. |
Name | Description | |
---|---|---|
destroy | Remove the functionality completely. This will return the element back to its pre-init state. | |
hide | Hides the element. | |
isVisible | Determines whether the element is visible. | |
show | Pops up the element. Position is an optional argument, and is the options object used in jquery.ui.position. | |
showAt | Popups the element at specified absolute position related to document. | |
widget | Returns a jQuery object containing the original element or other relevant generated element. |
Name | Description | |
---|---|---|
hidden | The hidden event handler. A function called after the element is hidden. | |
hiding | The hiding event handler. A function called before the element is hidden. Cancellable. | |
posChanged | The posChanged event handler. A function called when the position of the element is changed. | |
showing | The showing event handler. A function called before the element is shown. Cancellable. | |
shown | The shown event handler. A function called after the element is shown. |