JSDoc: Namespace: dialog

# Namespace: dialog

## jsxc.gui.dialog

Wrapper for dialog

Source:
  - jsxc.lib.gui.js, line 1945

### Methods

#### (static) close(nameopt)

If no name is provided every dialog will be closed, otherwise only dialog with given name is closed.

##### Parameters:

Name | Type | Attributes | Description
--- | --- | --- | ---
`name` | string | <optional> | Close only dialog with the given name

Source:
  - jsxc.lib.gui.js, line 2030

#### (static) open(data, oopt) → {jQuery}

Open a Dialog.

##### Parameters:

Name | Type | Attributes | Description
--- | --- | --- | ---
`data` | String |  | Data of the dialog
`o` | Object | <optional> | Options for the dialog ###### Properties
Name | Type | Attributes | Description
--- | --- | --- | ---
`noClose` | Boolean | <optional> | If true, hide all default close options

Source:
  - jsxc.lib.gui.js, line 1960

##### Returns:

Dialog object

Type
  jQuery

#### (static) resize(options)

Resizes current dialog.

##### Parameters:

Name | Type | Description
--- | --- | ---
`options` | Object | e.g. width and height

Source:
  - jsxc.lib.gui.js, line 2045