Namespace: loader

ix. loader

Extends

Methods


<static> container(settings)

Load vtl file content in an existing html container (div)

Parameters:
Name Type Description
settings ix.loader~ContainerSettings
Returns:
Type
undefined
Example
ix.loader.container({
  vm: "internal/system/vm/html/include/sample.vm",
  htmlTarget: [div]
});

ix.loader.container({
  vm: "internal/system/vm/html/include/sample.vm",
  htmlTarget: [div],
  ixApp: {
     guid: "C6F004594EEA424B2AACCD105181AD7F0660DF6D",
     pageGuid: "21A1FAA5770A6DFF0C43D0B7C6AB3812846B6F7C",
  },
  actionClose: function() {}
});

<static> load(settings)

Load intrexx page in the current window / tooltip / popup

Parameters:
Name Type Description
settings ix.loader~LoadSettings
Example
ix.loader.load({
  ixApp: {
      guid: "C6F004594EEA424B2AACCD105181AD7F0660DF6D",
      pageGuid: "21A1FAA5770A6DFF0C43D0B7C6AB3812846B6F7C",
  }
});

<static> stage(settings)

Load intrexx page in the intrexx main window

Parameters:
Name Type Description
settings ix.loader~StageSettings
Example
ix.loader.stage({
  ixApp: {
      guid: "C6F004594EEA424B2AACCD105181AD7F0660DF6D",
      pageGuid: "21A1FAA5770A6DFF0C43D0B7C6AB3812846B6F7C",
  }
});

<static> tooltip(settings)

Load intrexx page in a new tooltip popup

Parameters:
Name Type Description
settings ix.loader~TooltipSettings
Returns:
Type
undefined
Example
ix.loader.tooltip({
  ixApp: {
      guid: "C6F004594EEA424B2AACCD105181AD7F0660DF6D",
      pageGuid: "21A1FAA5770A6DFF0C43D0B7C6AB3812846B6F7C",
  }
});

<static> tooltip(settings)

Load intrexx page in a new tooltip popup

Parameters:
Name Type Description
settings ix.loader~PopupSettings
Example
ix.loader.popup({
  ixApp: {
      guid: "C6F004594EEA424B2AACCD105181AD7F0660DF6D",
      pageGuid: "21A1FAA5770A6DFF0C43D0B7C6AB3812846B6F7C",
  }
});

Type Definitions


ContainerSettings

Type:
  • Object
Properties:
Name Type Argument Description
ixApp ix.loader~IntrexxApp <optional>

application context.

data Object <optional>

Data to be sent to the server. It will be appended to query string.

html HTMLElement <optional>

An element in the Document Object Model (DOM).

fup Object <optional>

Reference to a functional part

close Boolean <optional>

Close current window.

reloadByChange Boolean <optional>

Reload current window. Initiated actions: actMerge, actDelete.

actionClose function <optional>

A function to be called when the tooltip popup closes.

actionChange function <optional>

Callback function. Initiated actions: actMerge, actDelete. Overwrites default reloadByChange action.


IntrexxApp

Type:
  • Object
Properties:
Name Type Argument Description
guid String

Intrexx application guid.

pageGuid String

Intrexx page guid.

recId String <optional>

Record ID.


LoadSettings

Type:
  • Object
Properties:
Name Type Argument Description
ixApp ix.loader~IntrexxApp <optional>

Target application.

data Object <optional>

Data to be sent to the server. It will be appended to query string.

html HTMLElement <optional>

An element in the Document Object Model (DOM).

fup Object <optional>

Reference to a functional part

close Boolean <optional>

Close current window.


PopupSettings

Type:
  • Object
Properties:
Name Type Argument Description
ixApp ix.loader~IntrexxApp <optional>

Target application.

data Object <optional>

Data to be sent to the server. It will be appended to query string.

html HTMLElement <optional>

An element in the Document Object Model (DOM).

fup Object <optional>

Reference to a functional part


StageSettings

Type:
  • Object
Properties:
Name Type Argument Default Description
ixApp ix.loader~IntrexxApp <optional>

Target application.

data Object <optional>

Data to be sent to the server. It will be appended to query string.

html HTMLElement <optional>

An element in the Document Object Model (DOM).

fup Object <optional>

Reference to a functional part

close Boolean <optional>

Close current window.

addHistoryEntry Boolean <optional>
false

Add history entry


TooltipSettings

Type:
  • Object
Properties:
Name Type Argument Default Description
ixApp ix.loader~IntrexxApp <optional>

Target application.

data Object <optional>

Data to be sent to the server. It will be appended to query string.

html HTMLElement <optional>

An element in the Document Object Model (DOM).

fup Object <optional>

Reference to a functional part

width Number <optional>

Fix tooltip width in px.

widthUnit String <optional>
"px"

Tooltip width unit. "px" | "vw" viewport width (width: 1-100)

height Number <optional>

Fix tooltip height in px.

heightUnit String <optional>
"px"

Tooltip height unit. "px" | "vh" viewport height (height: 1-100)