A Lightbox-like Modal-dialog for HTML Content
An HTML-capable Dialog widget with advanced sizing options, animated show/hide and other useful options.
This Dialog is also very easy to apply custom styles to.
It works identically to a dijit.Dialog
with several
additional parameters.
Parameter | Type | Description |
---|---|---|
props | undefined | |
node | undefined |
See the dojox/widget/Dialog reference documentation for more information.
A two-element array of [width,height] to animate the Dialog to if sizeToViewport="false" Defaults to [300,300]
Make the pane draggable. Differs from dijit.Dialog by setting default to false
If true, this Dialog instance will be truly modal and prevent closing until explicitly told to by calling hide() - Defaults to false to preserve previous behaviors.
Toogle to show or hide the Title area. Can only be set at startup.
To be passed to dojox.fx.sizeTo, one of "chain" or "combine" to effect the animation sequence.
If true, fix the size of the dialog to the Viewport based on viewportPadding value rather than the calculated or natural style. If false, base the size on a passed dimension attribute. Either way, the viewportPadding value is used if the the content extends beyond the viewport size for whatever reason.
If sizeToViewport="true", this is the amount of padding in pixels to leave between the dialog border and the viewport edge. This value is also used when sizeToViewport="false" and dimensions exceeded by dialog content to ensure dialog does not go outside viewport boundary
Handle's showing or hiding the close icon
Parameter | Type | Description |
---|---|---|
e | undefined |
Piggyback on dijit.Dialog's _setup for load-time options, deferred to
Show the inner container after sizing animation
Parameter | Type | Description |
---|---|---|
e | undefined |