@angularclass/hmr

  • Version 3.0.0
  • Published
  • 52.7 kB
  • No dependencies
  • Apache-2.0 license

Install

npm i @angularclass/hmr
yarn add @angularclass/hmr
pnpm add @angularclass/hmr

Overview

angular-hmr: Hot Module Replacement for Webpack and Angular

Index

Variables

variable MODULE_CONFIG

const MODULE_CONFIG: {
OnInit: string;
OnStatus: string;
OnCheck: string;
OnDecline: string;
OnDestroy: string;
AfterDestroy: string;
};

    Functions

    function bootloader

    bootloader: (main: any, before?: any, after?: any) => void;

      function createInputTransfer

      createInputTransfer: () => () => void;

        function createNewHosts

        createNewHosts: (cmps: any) => () => void;

          function getInputValues

          getInputValues: () => any;

            function hmrModule

            hmrModule: (
            MODULE_REF: any,
            MODULE: any,
            CONFIG?: {
            OnInit: string;
            OnStatus: string;
            OnCheck: string;
            OnDecline: string;
            OnDestroy: string;
            AfterDestroy: string;
            }
            ) => any;

              function removeNgStyles

              removeNgStyles: () => void;

                function setInputValues

                setInputValues: (_inputs: any) => void;

                  Package Files (3)

                  Dependencies (0)

                  No dependencies.

                  Dev Dependencies (7)

                  Peer Dependencies (0)

                  No peer dependencies.

                  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/@angularclass/hmr.

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