JSDoc: Namespace: dialog

# Namespace: dialog

## jsxc.gui. dialog

Wrapper for dialog

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

### Methods

#### <static> close(name)

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

  ##### Parameters:

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

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

#### <static> open(data, o) → {jQuery}

  Open a Dialog.

  ##### Parameters:

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

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

  ##### 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 1976