Optional
closeShow close button in container.
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
closeByButton: true,
data: {
"company": "Test Company",
"city": "Freiburg"
}
});
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
keyThe container identifier. Sets a data-key
attribute to the container in which it gets loaded.
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
key: "test-key",
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
});
Optional
onCallback function - fired after the container was loaded into an element.
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
onAfterLoad: () => {
console.log("Loading done.");
}
});
Optional
onCallback function - fired after the container finished unloading.
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
onAfterUnload: () => {
console.log("Unload done.");
}
});
Optional
onCallback function - fired before the container is loaded into an element.
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-GUID>"),
onBeforeLoad: () => {
console.log("Before load.");
}
});
Optional
onCallback function - fired before the container will be closed.
ix.api.loader.container({
ixApp: {
guid: "<APPLICATION-GUID>",
pageGuid: "<PAGE-GUID>"
},
html: ix.api.dom.getHtml("<CONTAINER-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("<CONTAINER-GUID>"),
});
Container settings (
ix.api.loader.container
) that can be passed to the loader to define how the container that is to be opened should look like and behave.