angular2-universal

  • Version 2.1.0-rc.1
  • Published
  • 6 dependencies
  • MIT license

Install

npm i angular2-universal
yarn add angular2-universal
pnpm add angular2-universal

Overview

Universal (isomorphic) javascript support for Angular2

Index

Variables

variable AUTO_PREBOOT

const AUTO_PREBOOT: OpaqueToken;

    variable isBrowser

    const isBrowser: boolean;

      variable isNode

      const isNode: boolean;

        variable UNIVERSAL_CACHE

        const UNIVERSAL_CACHE: OpaqueToken;

          variable zoneProps

          const zoneProps: WeakMap<any, any>;

            Functions

            function appBootstrapListenerFactory

            appBootstrapListenerFactory: (autoPreboot: boolean) => typeof prebootComplete;

              function appIdFactory

              appIdFactory: () => any;

                function createDocumentProxy

                createDocumentProxy: () => ProxyDocument;

                  function createGlobalProxy

                  createGlobalProxy: () => ProxyDocument;

                    function platformUniversalDynamic

                    platformUniversalDynamic: (extraProviders?: any[]) => PlatformRef;

                      function prebootComplete

                      prebootComplete: (value?: any) => any;

                        function universalCacheFactory

                        universalCacheFactory: () => any;

                          Classes

                          class ProxyDocument

                          class ProxyDocument {}

                            constructor

                            constructor(__zone?: any);

                              property cookie

                              readonly cookie: any;

                                property querySelector

                                readonly querySelector: any;

                                  property querySelectorAll

                                  readonly querySelectorAll: any;

                                    property tagName

                                    readonly tagName: any;

                                      method createElement

                                      createElement: (tagName: any) => any;

                                        class ProxyElement

                                        class ProxyElement {}

                                          constructor

                                          constructor(__zone?: any);

                                            property childNodes

                                            readonly childNodes: any;

                                              property firstChild

                                              readonly firstChild: any;

                                                property nextSibling

                                                readonly nextSibling: any;

                                                  property nodeName

                                                  readonly nodeName: any;

                                                    property nodeValue

                                                    readonly nodeValue: any;

                                                      property parentElement

                                                      readonly parentElement: any;

                                                        property querySelector

                                                        readonly querySelector: any;

                                                          property querySelectorAll

                                                          readonly querySelectorAll: any;

                                                            property tagName

                                                            readonly tagName: any;

                                                              property value

                                                              readonly value: any;

                                                                method createElement

                                                                createElement: (tagName: any) => any;

                                                                  class UniversalModule

                                                                  class UniversalModule {}

                                                                    constructor

                                                                    constructor(sharedStylesHost: any);

                                                                      method withConfig

                                                                      static withConfig: (_config?: any) => {
                                                                      ngModule: UniversalModule;
                                                                      providers: any[];
                                                                      };

                                                                        class ZoneStore

                                                                        class ZoneStore {}

                                                                          constructor

                                                                          constructor(props?: any);

                                                                            property zone

                                                                            zone: any;

                                                                              method clear

                                                                              clear: () => void;

                                                                                method get

                                                                                get: (key: any) => any;

                                                                                  method has

                                                                                  has: (key: any) => any;

                                                                                    method set

                                                                                    set: (key: any, value: any) => this;

                                                                                      method setMap

                                                                                      setMap: (obj: any) => void;

                                                                                        Type Aliases

                                                                                        type NodePlatformRef

                                                                                        type NodePlatformRef = PlatformRef & NodePlatform;

                                                                                          Package Files (6)

                                                                                          Dependencies (6)

                                                                                          Dev Dependencies (0)

                                                                                          No dev dependencies.

                                                                                          Peer Dependencies (2)

                                                                                          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/angular2-universal.

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