Optional
dataData to be sent to the server. It will be appended to the query string.
// ix.api.loader.container example
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
data: {
"company": "Test Company",
"city": "Freiburg"
}
});
Optional
fupReference to a functional part.
Optional
htmlAn element in the Document Object Model (DOM) to determine current window / tooltip.
// ix.api.loader.container example
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
});
Optional
ixPage which should be loaded. Defined by <APPLICATION-GUID>
and <PAGE-GUID>
.
// ix.api.loader.container example
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
});
Optional
onCallback function - fired after the container was loaded into an element.
// open page in a tooltip (default position is at middle of the page if no windowSettings are set)
ix.api.loader.tooltip({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
onAfterLoad: () => {
console.log("Loading done.");
}
});
Optional
onCallback function - fired after the container finished unloading.
ix.api.loader.tooltip({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
onAfterUnload: () => {
console.log("Unload done.");
}
});
Optional
onCallback function - fired before the container was loaded into an element.
ix.api.loader.tooltip({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
onBeforeLoad: () => {
console.log("Before load.");
}
});
Optional
onCallback function - fired before the container will be closed.
ix.api.loader.tooltip({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
onBeforeUnload: () => {
console.log("Before unload.");
}
});
Optional
reloadReload current window if data got saved or deleted.
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
reloadByChange: true
});
Optional
vmLoad a static VTL (Velocity Template Language) file.
ix.api.loader.container({
vm: "internal/system/vm/html/include/sample.vm",
html: ix.api.dom.getHtml("<GUID>"),
});
Optional
windowTooltip settings which can be set.
ix.api.loader.tooltip({
ixApp: {
guid: "E0287A45904DBE104D6B41480185F9100D30F4B1",
pageGuid: "51085A829CC28D74281FDAA42EA5636C9FD7BBCD"
},
windowSettings: {
modal: true,
closeByEsc: true,
closeByClick: true
}
});
Tooltip settings (
ix.api.loader.tooltip
).