JSPM

ngx-no-copy

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q17323F
  • License MIT

Package Exports

  • ngx-no-copy
  • ngx-no-copy/bundles/ngx-no-copy.umd.js
  • ngx-no-copy/fesm2015/ngx-no-copy.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-no-copy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

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

Usage

Add NoCopyPasteCutDirective to input

<input type="text" NoCopyPasteCutDirective>

Add NoCopyPasteCutDirective to div

<div NoCopyPasteCutDirective >you will not be able to copy this text 😋</div>