Content-Length: 259986 | pFad | http://github.com/doxiaodong/ng2-clip/blob/master/README.md

EC ng2-clip/README.md at master · doxiaodong/ng2-clip · GitHub
Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 966 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 966 Bytes

Build Status Downloads Versions License

Copy to clipboard using Angular and clipboard.js

demo

https://doxiaodong.github.io/ng2-clip

Useage

  • install npm i ng2-clip --save
import { NgModule } from '@angular/core'
import { ClipModule } from 'ng2-clip'
@NgModule({
  imports: [
    ClipModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
<button clip="The word you want to copy" (onClip)="callback($event)"></button>
<button [clip]="'The word you want to copy'" (onClip)="callback($event)"></button>








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/doxiaodong/ng2-clip/blob/master/README.md

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy