UNPKG

849 BTypeScriptView Raw
1import { ViewContainerRef, TemplateRef } from '@angular/core';
2import { IReactionOptions } from 'mobx';
3import { MobxAutorunDirective } from './mobx-autorun.directive';
4import * as i0 from "@angular/core";
5export declare class MobxReactionDirective extends MobxAutorunDirective {
6 protected templateRef: TemplateRef<any>;
7 protected viewContainer: ViewContainerRef;
8 mobxReaction: any;
9 mobxReactionOptions: IReactionOptions<any, any>;
10 constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
11 autoDetect(view: any): void;
12 static ɵfac: i0.ɵɵFactoryDeclaration<MobxReactionDirective, never>;
13 static ɵdir: i0.ɵɵDirectiveDeclaration<MobxReactionDirective, "[mobxReaction]", never, { "mobxReaction": "mobxReaction"; "mobxReactionOptions": "mobxReactionOptions"; }, {}, never, never, false, never>;
14}