mobx-angular

  • Version 4.7.2
  • Published
  • 61.4 kB
  • 1 dependency
  • MIT license

Install

npm i mobx-angular
yarn add mobx-angular
pnpm add mobx-angular

Overview

Angular connector to MobX (2 and above)

Index

Variables

variable action

const action: any;

    variable computed

    const computed: any;

      variable observable

      const observable: any;

        Functions

        function actionInternal

        actionInternal: (...args: any[]) => any;

          Classes

          class MobxAngularModule

          class MobxAngularModule {}

            property ɵfac

            static ɵfac: i0.ɵɵFactoryDeclaration<MobxAngularModule, never>;

              property ɵinj

              static ɵinj: i0.ɵɵInjectorDeclaration<MobxAngularModule>;

                property ɵmod

                static ɵmod: i0.ɵɵNgModuleDeclaration<
                MobxAngularModule,
                [typeof i1.MobxAutorunDirective, typeof i2.MobxReactionDirective],
                never,
                [typeof i1.MobxAutorunDirective, typeof i2.MobxReactionDirective]
                >;

                  class MobxAutorunDirective

                  class MobxAutorunDirective implements OnInit, OnDestroy {}

                    constructor

                    constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);

                      property dispose

                      protected dispose: any;

                        property mobxAutorun

                        mobxAutorun: any;

                          property ɵdir

                          static ɵdir: i0.ɵɵDirectiveDeclaration<
                          MobxAutorunDirective,
                          '[mobxAutorun]',
                          never,
                          { mobxAutorun: 'mobxAutorun' },
                          {},
                          never,
                          never,
                          false,
                          never
                          >;

                            property ɵfac

                            static ɵfac: i0.ɵɵFactoryDeclaration<MobxAutorunDirective, never>;

                              property templateBindings

                              protected templateBindings: {};

                                property templateRef

                                protected templateRef: TemplateRef<any>;

                                  property view

                                  protected view: EmbeddedViewRef<any>;

                                    property viewContainer

                                    protected viewContainer: ViewContainerRef;

                                      method autoDetect

                                      autoDetect: (view: EmbeddedViewRef<any>) => void;

                                        method getAutorunOptions

                                        getAutorunOptions: () => IAutorunOptions;

                                          method ngOnDestroy

                                          ngOnDestroy: () => void;

                                            method ngOnInit

                                            ngOnInit: () => void;

                                              method shouldDetach

                                              shouldDetach: () => any;

                                                class MobxReactionDirective

                                                class MobxReactionDirective extends MobxAutorunDirective {}

                                                  constructor

                                                  constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);

                                                    property mobxReaction

                                                    mobxReaction: any;

                                                      property mobxReactionOptions

                                                      mobxReactionOptions: IReactionOptions<any, any>;

                                                        property ɵdir

                                                        static ɵdir: i0.ɵɵDirectiveDeclaration<
                                                        MobxReactionDirective,
                                                        '[mobxReaction]',
                                                        never,
                                                        { mobxReaction: 'mobxReaction'; mobxReactionOptions: 'mobxReactionOptions' },
                                                        {},
                                                        never,
                                                        never,
                                                        false,
                                                        never
                                                        >;

                                                          property ɵfac

                                                          static ɵfac: i0.ɵɵFactoryDeclaration<MobxReactionDirective, never>;

                                                            property templateRef

                                                            protected templateRef: TemplateRef<any>;

                                                              property viewContainer

                                                              protected viewContainer: ViewContainerRef;

                                                                method autoDetect

                                                                autoDetect: (view: any) => void;

                                                                  class RouterStore

                                                                  class RouterStore {}

                                                                    constructor

                                                                    constructor(router: Router, activatedRoute: ActivatedRoute);

                                                                      property ɵfac

                                                                      static ɵfac: i0.ɵɵFactoryDeclaration<RouterStore, never>;

                                                                        property ɵprov

                                                                        static ɵprov: i0.ɵɵInjectableDeclaration<RouterStore>;

                                                                          property routeSnapshot

                                                                          routeSnapshot: ActivatedRouteSnapshot;

                                                                            property url

                                                                            url: string;

                                                                              Package Files (6)

                                                                              Dependencies (1)

                                                                              Dev Dependencies (0)

                                                                              No dev dependencies.

                                                                              Peer Dependencies (3)

                                                                              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/mobx-angular.

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