The key to identify the control. This can be one of the following:
The instance of the control associated with the provided key. If no control is found, it returns null
.
// Retrieve the control using the GUID.
const myControl = ix.api.dom.getControl("<ELEMENT-GUID>");
// Retrieve the control using the ID.
const myControl = ix.api.dom.getControl("myControlID");
// Retrieve the control using the HTMLElement.
// This is only relevant when dealing with older controls managed through control objects.
const controlElement = document.getElementById("myControlID");
const myControl = ix.api.dom.getControl(controlElement);
馃搶 THIS FUNCTION IS THE MAIN ENTRY POINT FOR INTERACTING WITH INTREXX CONTROLS 馃搶
It retrieves the control instance linked to the given key and is useful when you need to interact with a specific control.
There are two types of controls this function can return:
UpObject
) to interact with the control.Please refer to the documentation of the control you are working with to understand how to interact with it.