• Type Parameters

    Parameters

    • host: UmbControllerHost

      The host to parse on as the host to the extension api.

    • alias: string

      The alias of the extension api to create.

    • OptionalconstructorArgs: unknown[]

      The constructor arguments to pass to the extension api, host will always be appended as the first argument, meaning these arguments will be second and so forth.

    Returns Promise<ApiType>

    a class instance of the api provided via the manifest that matches the given alias. You have to type this via the generic ApiType parameter.

""