UNPKG

@acrodata/watermark

Version:
25 lines (24 loc) 1.25 kB
import { OnChanges, OnDestroy, OnInit } from '@angular/core'; import { WatermarkOptions } from './types'; import * as i0 from "@angular/core"; export declare class WatermarkDirective implements OnInit, OnChanges, OnDestroy { options: WatermarkOptions; container?: HTMLElement | string | null; secure: boolean; zIndex: number; scrollHeight?: string | number; private _elementRef; private _ngZone; private _watermark?; ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; update(options: WatermarkOptions): void; show(): void; hide(): void; destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<WatermarkDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<WatermarkDirective, "[watermark]", ["watermark"], { "options": { "alias": "watermarkOptions"; "required": false; }; "container": { "alias": "watermarkContainer"; "required": false; }; "secure": { "alias": "watermarkSecure"; "required": false; }; "zIndex": { "alias": "watermarkZIndex"; "required": false; }; "scrollHeight": { "alias": "watermarkScrollHeight"; "required": false; }; }, {}, never, never, true, never>; static ngAcceptInputType_secure: unknown; static ngAcceptInputType_zIndex: unknown; }