jQuery.wijmo.wijdialog Namespace : options type |
Object
jQuery.wijmo.wijdialog.options
Name | Description | |
---|---|---|
appendTo | Default value: 'body' Which element the dialog (and overlay, if modal) should be appended to. | |
autoOpen | Default value: true If set to true, the dialog will automatically open upon initialization. If false, the dialog will stay hidden until the open() method is called. | |
buttons | Default value (array): [] Default value (object): {} The buttons option specifies the buttons to display within the dialog content area. The property key is the button text. The value is the callback function when the button is clicked. The context of the callback is the dialog element. Access to the button is available as the target of the event object. When used as an array, each element of the array must be an Object that defines a button's properties. | |
captionButtons | The captionButtons option determines the caption buttons to show on the wijdialog title bar. | |
closeOnEscape | Default value: true Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key. | |
closeText | Default value: 'close' Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme. | |
collapsingAnimation | Default value: null The collapsingAnimation option determines the animation effect that is used when the wijdialog is collapsed. | |
contentUrl | Default value: "" This option specifies the URL for the iframe element inside wijdialog. | |
dialogClass | Default value: "" The specified class name(s) will be added to the dialog, for additional theming. | |
disabled | ||
draggable | Default value: true If set to true, the dialog will be draggable by the title bar. Requires the jQuery UI Draggable widget to be included. | |
expandingAnimation | Default value: null The expandingAnimation option determines the animation effect that is used when the wijdialog is expanded. | |
height | Default value: 'auto' The height of the dialog. | |
hide | Default value: null If and how to animate the hiding of the dialog. | |
maxHeight | Default value: null The maximum height to which the dialog can be resized, in pixels. | |
maxWidth | Default value: null The maximum width to which the dialog can be resized, in pixels. | |
minHeight | Default value: 150 The minimum height to which the dialog can be resized, in pixels. | |
minimizeZoneElementId | Default value: "" The minimizeZoneElementId option specifies the ID of the DOM element to dock to when wijdialog is minimized. | |
minWidth | Default value: 150 The minimum width to which the dialog can be resized, in pixels. | |
modal | Default value: false If set to true, the dialog will have modal behavior; other items on the page will be disabled, i.e., cannot be interacted with. Modal dialogs create an overlay below the dialog but above other page elements. | |
position | Specifies where the dialog should be displayed. The dialog will handle collisions such that as much of the dialog is visible as possible. | |
resizable | Default value: true undefined | |
show | Default value: null If and how to animate the showing of the dialog. | |
stack | Default value: true undefined | |
title | Default value: null Specifies the title of the dialog. If the value is null, the title attribute on the dialog source element will be used. | |
width | Default value: 300 The width of the dialog, in pixels. | |
zIndex | Default value: 1000 This option specifies the starting z-index for the dialog. |
Name | Description | |
---|---|---|
beforeClose | Triggered when a dialog is about to close. If canceled, the dialog will not close. | |
blur | The blur event is called when the dialog widget loses focus. | |
buttonCreating | The buttonCreating event is called before the caption buttons are created. It can be used to change the array of the buttons or to change, add, or remove buttons from the title bar. | |
close | Triggered when the dialog is closed. | |
create | Triggered when the dialog is created. | |
drag | Triggered while the dialog is being dragged. | |
dragStart | Triggered when the user starts dragging the dialog. | |
dragStop | Triggered after the dialog has been dragged. | |
focus | Triggered when the dialog gains focus. | |
open | Triggered when the dialog is opened. | |
resize | Triggered while the dialog is being resized. | |
resizeStart | Triggered when the user starts resizing the dialog. | |
resizeStop | Triggered after the dialog has been resized. | |
stateChanged | The stateChanged event is called when the dialog state ("maximized", "minimized", "normal") is changed. |