UNPKG

protect-scr

Version:

Comprehensive client-side security protection for React applications against screenshots, printing, and unauthorized access

21 lines 551 B
interface WatermarkConfig { text?: string; opacity?: number; fontSize?: number; color?: string; rotation?: number; } export declare class WatermarkManager { private config; private watermarkElement?; private isVisible; constructor(config: WatermarkConfig); show(): void; hide(): void; updateConfig(newConfig: Partial<WatermarkConfig>): void; private createWatermarkElement; private createWatermarkPattern; private protectWatermark; } export {}; //# sourceMappingURL=WatermarkManager.d.ts.map