@lxlib/acl
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.1.
21 lines (20 loc) • 750 B
TypeScript
import { OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
import { ACLService } from './acl.service';
import { ACLCanType } from './acl.type';
export declare class ACLIfDirective implements OnDestroy {
private srv;
private _viewContainer;
private _value;
private _change$;
private _thenTemplateRef;
private _elseTemplateRef;
private _thenViewRef;
private _elseViewRef;
constructor(templateRef: TemplateRef<void>, srv: ACLService, _viewContainer: ViewContainerRef);
set aclIf(value: ACLCanType);
set aclIfThen(templateRef: TemplateRef<void> | null);
set aclIfElse(templateRef: TemplateRef<void> | null);
except: boolean;
protected _updateView(): void;
ngOnDestroy(): void;
}