Method | Description | |
---|---|---|
AddButton ( string label, string methodSource ) : |
Adds a button onto the dialog.
|
|
SetAutoOpen ( bool autoOpen ) : |
When autoOpen is true the dialog will open automatically when dialog is called. If false it will stay hidden until .dialog("open") is called on it.
|
|
SetCloseOnEscape ( bool closeOnEscape ) : |
Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key.
|
|
SetCloseText ( string closeText ) : |
Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.
|
|
SetDialogClass ( string dialogClass ) : |
The specified class name(s) will be added to the dialog, for additional theming.
|
|
SetDisabled ( bool disable ) : |
Disables (true) or enables (false) the dialog. Can be set when initialising (first creating) the dialog.
|
|
SetDraggable ( bool draggable ) : |
If set to true, the dialog will be draggable will be draggable by the titlebar.
|
|
SetHeight ( int height ) : |
The height of the dialog, in pixels. Specifying 'auto' is also supported to make the dialog adjust based on its content.
|
|
SetHeight ( string height ) : |
The height of the dialog, in pixels. Specifying 'auto' is also supported to make the dialog adjust based on its content.
|
|
SetHideEffect ( Core effect ) : |
The effect to be used when the dialog is closed.
|
|
SetHideEffect ( string hide ) : |
The effect to be used when the dialog is closed.
|
|
SetHideMethod ( string hideMethod ) : |
Function to use when the dialog is closed.
|
|
SetMaxHeight ( int maxHeight ) : |
The maximum height to which the dialog can be resized, in pixels.
|
|
SetMaxHeight ( string maxHeight ) : |
The maximum height to which the dialog can be resized, in pixels.
|
|
SetMaxWidth ( int maxWidth ) : |
The maximum width to which the dialog can be resized, in pixels.
|
|
SetMaxWidth ( string maxWidth ) : |
The maximum width to which the dialog can be resized, in pixels.
|
|
SetMinHeight ( int minHeight ) : |
The minimum height to which the dialog can be resized, in pixels.
|
|
SetMinWidth ( int minWidth ) : |
The minimum width to which the dialog can be resized, in pixels.
|
|
SetModal ( bool modal ) : |
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.
|
|
SetPosition ( Core position ) : |
Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
|
|
SetPosition ( Core x, Core y ) : |
Specifies where the dialog should be displayed. Possible values: Two strings containing x,y position string values (e.g. ['right','top'] for top right corner)
|
|
SetPosition ( int x, int y ) : |
Specifies where the dialog should be displayed. Possible values: Two values containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. 350, 100)
|
|
SetPosition ( string position ) : |
Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
|
|
SetPosition ( string x, string y ) : |
Specifies where the dialog should be displayed. Possible values: Two strings containing x,y position string values (e.g. ['right','top'] for top right corner)
|
|
SetResizable ( bool resizable ) : |
If set to true, the dialog will be resizable.
|
|
SetShowEffect ( Core effect ) : |
The effect to be used when the dialog is opened.
|
|
SetShowEffect ( string show ) : |
The effect to be used when the dialog is opened.
|
|
SetShowMethod ( string showMethod ) : |
The effect to be used when the dialog is opened.
|
|
SetStack ( bool stack ) : |
Specifies whether the dialog will stack on top of other dialogs. This will cause the dialog to move to the front of other dialogs when it gains focus.
|
|
SetTitle ( string title ) : |
Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.
|
|
SetWidth ( int width ) : |
The width of the dialog, in pixels.
|
|
SetZIndex ( int zIndex ) : |
The starting z-index for the dialog.
|
public AddButton ( string label, string methodSource ) : |
||
label | string | Label on the button the user will see. |
methodSource | string | JavaScript to call when the button is clicked. |
return |
public SetAutoOpen ( bool autoOpen ) : |
||
autoOpen | bool | |
return |
public SetCloseOnEscape ( bool closeOnEscape ) : |
||
closeOnEscape | bool | |
return |
public SetCloseText ( string closeText ) : |
||
closeText | string | |
return |
public SetDialogClass ( string dialogClass ) : |
||
dialogClass | string | |
return |
public SetDisabled ( bool disable ) : |
||
disable | bool | |
return |
public SetDraggable ( bool draggable ) : |
||
draggable | bool | |
return |
public SetHideEffect ( Core effect ) : |
||
effect | Core | |
return |
public SetHideEffect ( string hide ) : |
||
hide | string | |
return |
public SetHideMethod ( string hideMethod ) : |
||
hideMethod | string | |
return |
public SetMaxHeight ( int maxHeight ) : |
||
maxHeight | int | |
return |
public SetMaxHeight ( string maxHeight ) : |
||
maxHeight | string | |
return |
public SetMaxWidth ( int maxWidth ) : |
||
maxWidth | int | |
return |
public SetMaxWidth ( string maxWidth ) : |
||
maxWidth | string | |
return |
public SetMinHeight ( int minHeight ) : |
||
minHeight | int | |
return |
public SetMinWidth ( int minWidth ) : |
||
minWidth | int | |
return |
public SetPosition ( Core position ) : |
||
position | Core | |
return |
public SetPosition ( Core x, Core y ) : |
||
x | Core | |
y | Core | |
return |
public SetPosition ( int x, int y ) : |
||
x | int | |
y | int | |
return |
public SetPosition ( string position ) : |
||
position | string | |
return |
public SetPosition ( string x, string y ) : |
||
x | string | |
y | string | |
return |
public SetResizable ( bool resizable ) : |
||
resizable | bool | |
return |
public SetShowEffect ( Core effect ) : |
||
effect | Core | |
return |
public SetShowEffect ( string show ) : |
||
show | string | |
return |
public SetShowMethod ( string showMethod ) : |
||
showMethod | string | |
return |