Dynamic method access — the proxy forwards any UI5 method call to the bridge.
UI5 controls have hundreds of methods (getters, setters, actions) that vary
by control type. The runtime Proxy intercepts property access and routes it
through page.evaluate(). This index signature allows TypeScript to accept
any method call without requiring explicit type narrowing.
any is required here because the Proxy returns heterogeneous types per
property: string for id/controlType, undefined for anti-thenable,
and (...args) => Promise for dynamic methods. No single non-any type
can express this while remaining compatible with the typed members above.
ReadonlycontrolFully qualified control type, e.g., 'sap.m.Button'.
ReadonlyidControl ID assigned in the UI5 view or generated.
Returns controls in a named aggregation.
Returns binding info for a named property.
Returns the DOM reference element, or null if not rendered.
Returns the control's ID.
Returns the named model, or the default model if no name given.
Optionalname: stringGets a named property value.
Returns whether the control is visible (getVisible() on sap.ui.core.Control).
Returns whether a property is data-bound.
Sets a named property value.
Base interface all UI5 controls extend.
Remarks
Maps to
sap.ui.core.Element/sap.ui.core.Controlbase methods. All methods returnPromise<T>because they execute via the bridge adapter in the browser context.Example