UNPKG

989 BTypeScriptView Raw
1import { ViewContainerRef, TemplateRef, OnInit, OnDestroy, EmbeddedViewRef } from '@angular/core';
2import { IAutorunOptions } from 'mobx';
3import * as i0 from "@angular/core";
4export declare class MobxAutorunDirective implements OnInit, OnDestroy {
5 protected templateRef: TemplateRef<any>;
6 protected viewContainer: ViewContainerRef;
7 protected templateBindings: {};
8 protected dispose: any;
9 protected view: EmbeddedViewRef<any>;
10 private readonly allAutorunOptions;
11 mobxAutorun: any;
12 constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
13 ngOnInit(): void;
14 shouldDetach(): any;
15 autoDetect(view: EmbeddedViewRef<any>): void;
16 getAutorunOptions(): IAutorunOptions;
17 ngOnDestroy(): void;
18 static ɵfac: i0.ɵɵFactoryDeclaration<MobxAutorunDirective, never>;
19 static ɵdir: i0.ɵɵDirectiveDeclaration<MobxAutorunDirective, "[mobxAutorun]", never, { "mobxAutorun": "mobxAutorun"; }, {}, never>;
20}