AngularTS
    Preparing search index...

    Interface AngularElementOptions<T>

    Options for a standalone AngularTS-backed custom element runtime.

    interface AngularElementOptions<T extends object = Record<string, unknown>> {
        component: AppComponentOptions<T>;
        directives?: DirectiveRegistrations;
        elementModule?: AngularElementModuleOptions;
        filters?: FilterRegistrations;
        modules?: readonly RuntimeModule[];
        name?: string;
        providers?: ProviderRegistration;
        requires?: string[];
        services?: ServiceRegistrations;
        subapp?: boolean;
    }

    Type Parameters

    • T extends object = Record<string, unknown>

    Hierarchy (View Summary)

    Index

    Properties

    component: AppComponentOptions<T>

    App component definition passed to $webComponent.defineAppComponent.

    directives?: DirectiveRegistrations

    Directives registered in the composed root module.

    elementModule?: AngularElementModuleOptions

    Application module that registers the custom element.

    Filters registered in the composed root module.

    modules?: readonly RuntimeModule[]

    Framework modules included by the composed ng module.

    name?: string

    Name of the composed root module. Defaults to ng.

    providers?: ProviderRegistration

    Additional providers registered in the composed root module.

    requires?: string[]

    Additional application modules required by the composed root module.

    Services registered in the composed root module.

    subapp?: boolean

    Treat this runtime as a sub-application of the current host runtime.