Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ngx-no-copy

AnassAzeroual12MIT0.0.3TypeScript support: included

This library was generated with Angular CLI version 12.2.0.

copy, paste, cut, block, no-copy, no-paste, no-cut, angular, ng, ngx, ngx-no-copy

readme

NgxNoCopy

This library was generated with Angular CLI version 12.2.0.

Table of Contents

About

This package is used to prevent copy, paste and cut in the Input's or the HTML

Imports

Import NgxNoCopyModule in your Module `js

@NgModule({ declarations: [ AppComponent, ], imports: [ ... NgxNoCopyModule // <--- here ], providers: [], bootstrap: [AppComponent] }) export class AppModule { }


## Usage

> Add NoCopyPasteCutDirective to input 
```html
<input type="text" NoCopyPasteCutDirective>

Add NoCopyPasteCutDirective to div `html

you will not be able to copy this text 😋
```