The element or Intrexx control for which to find the enclosing FuncPart
.
The FuncPart
that encloses the specified element, or null
if no such FuncPart
exists.
FuncPart
is a JavaScript representation of an Intrexx application page.
const element = ix.api.page.getUp("<ELEMENT-GUID>");
const funcPart = ix.api.page.getFuncPart(element);
console.log(funcPart); // Returns: FuncPart { ... }
Retrieves the enclosing
FuncPart
for the specified element.This function traverses up the DOM tree from the specified element to find the nearest parent element that represents a
FuncPart
.