Function Ui5Base

  • Use this function in tandem with ui5Extend to extend a UI5 class.

    Example

    import Control from "sap/ui/Control";

    ui5Extend("optional.name.MyControl")
    export class MyControl extends Ui5Base(Control, {
    metadata: {
    properties: {
    // …
    },
    // …
    }
    }) {
    // …
    }

    Type Parameters

    • T extends (new (...args) => any)

    Parameters

    • baseClass: T

    Returns Ui5BaseConstructor<T>

  • Type Parameters

    • T extends (new (...args) => any)

    • const M extends MetadataOptions

    Parameters

    Returns Ui5BaseConstructor<T, M>

Generated using TypeDoc