Use this function in tandem with ui5Extend to extend a UI5 class.
import Control from "sap/ui/Control";@ui5Extend("optional.name.MyControl")export class MyControl extends Ui5Base(Control, { metadata: { properties: { // … }, // … }}) { // …} Copy
import Control from "sap/ui/Control";@ui5Extend("optional.name.MyControl")export class MyControl extends Ui5Base(Control, { metadata: { properties: { // … }, // … }}) { // …}
Generated using TypeDoc
Use this function in tandem with ui5Extend to extend a UI5 class.
Example