UNPKG

@dotcms/angular

Version:

Official Angular Components library to render a dotCMS page.

21 lines 799 B
import { UVE_MODE } from '@dotcms/types'; import * as i0 from "@angular/core"; /** * Directive to show a template when the UVE is in a specific mode. * * @example * <div *dotCMSShowWhen="UVE_MODE.EDIT"> * This will be shown when the UVE is in edit mode. * </div> * * @export * @class DotCMSShowWhenDirective */ export declare class DotCMSShowWhenDirective { #private; set dotCMSShowWhen(value: UVE_MODE); private updateViewContainer; static ɵfac: i0.ɵɵFactoryDeclaration<DotCMSShowWhenDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<DotCMSShowWhenDirective, "[dotCMSShowWhen]", never, { "dotCMSShowWhen": { "alias": "dotCMSShowWhen"; "required": false; }; }, {}, never, never, true, never>; } //# sourceMappingURL=dotcms-show-when.directive.d.ts.map