@angular/platform-browser-dynamic

  • Version 12.2.4
  • Published
  • 388 kB
  • 1 dependency
  • MIT license

Install

npm i @angular/platform-browser-dynamic
yarn add @angular/platform-browser-dynamic
pnpm add @angular/platform-browser-dynamic

Overview

Angular - library for using Angular in a web browser with JIT compilation

Index

Variables

variable ɵCOMPILER_PROVIDERS__POST_R3__

const ɵCOMPILER_PROVIDERS__POST_R3__: any[];

    variable ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS

    const ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: any[];

    variable RESOURCE_CACHE_PROVIDER

    const RESOURCE_CACHE_PROVIDER: any[];

    variable VERSION

    const VERSION: any;

    Functions

    function ɵplatformCoreDynamic

    ɵplatformCoreDynamic: (extraProviders?: StaticProvider[] | undefined) => any;
    • A platform that included corePlatform and the compiler.

    function platformBrowserDynamic

    platformBrowserDynamic: (extraProviders?: StaticProvider[] | undefined) => any;

    Classes

    class JitCompilerFactory

    class JitCompilerFactory implements CompilerFactory {}

    method createCompiler

    createCompiler: (options?: CompilerOptions[]) => any;

      class ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a

      class ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a extends ResourceLoader {}
      • An implementation of ResourceLoader that uses a template cache to avoid doing an actual ResourceLoader.

        The template cache needs to be built and loaded into window.$templateCache via a separate mechanism.

      constructor

      constructor();

        method get

        get: (url: string) => Promise<string>;

          class ɵCompilerImpl

          class ɵCompilerImpl implements Compiler {}

            constructor

            constructor(
            injector: any,
            _metadataResolver: any,
            templateParser: any,
            styleCompiler: any,
            viewCompiler: any,
            ngModuleCompiler: any,
            summaryResolver: any,
            compileReflector: any,
            jitEvaluator: any,
            compilerConfig: any,
            console: any
            );

              property injector

              readonly injector: any;

                method clearCache

                clearCache: () => void;

                  method clearCacheFor

                  clearCacheFor: (type: any) => void;

                    method compileModuleAndAllComponentsAsync

                    compileModuleAndAllComponentsAsync: <T>(
                    moduleType: any
                    ) => Promise<ModuleWithComponentFactories<T>>;

                      method compileModuleAndAllComponentsSync

                      compileModuleAndAllComponentsSync: <T>(moduleType: any) => any;

                        method compileModuleAsync

                        compileModuleAsync: <T>(moduleType: any) => Promise<NgModuleFactory<T>>;

                          method compileModuleSync

                          compileModuleSync: <T>(moduleType: any) => any;

                            method getComponentFactory

                            getComponentFactory: <T>(component: any) => any;

                              method getModuleId

                              getModuleId: (moduleType: any) => string | undefined;

                                method hasAotSummary

                                hasAotSummary: (ref: any) => boolean;

                                  method loadAotSummaries

                                  loadAotSummaries: (summaries: () => any[]) => void;

                                    class ɵResourceLoaderImpl

                                    class ɵResourceLoaderImpl extends ResourceLoader {}

                                      method get

                                      get: (url: string) => Promise<string>;

                                        Package Files (1)

                                        Dependencies (1)

                                        Dev Dependencies (0)

                                        No dev dependencies.

                                        Peer Dependencies (4)

                                        Badge

                                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@angular/platform-browser-dynamic.

                                        • Markdown
                                          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@angular/platform-browser-dynamic)
                                        • HTML
                                          <a href="https://www.jsdocs.io/package/@angular/platform-browser-dynamic"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>