UNPKG

719 BTypeScriptView Raw
1import { ViewContainerRef, TemplateRef, OnInit, OnDestroy, EmbeddedViewRef } from '@angular/core';
2import { IAutorunOptions } from 'mobx';
3export declare class MobxAutorunDirective implements OnInit, OnDestroy {
4 protected templateRef: TemplateRef<any>;
5 protected viewContainer: ViewContainerRef;
6 protected templateBindings: {};
7 protected dispose: any;
8 protected view: EmbeddedViewRef<any>;
9 private readonly allAutorunOptions;
10 mobxAutorun: any;
11 constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
12 ngOnInit(): void;
13 shouldDetach(): any;
14 autoDetect(view: EmbeddedViewRef<any>): void;
15 getAutorunOptions(): IAutorunOptions;
16 ngOnDestroy(): void;
17}