借 angular2 的势头写一个超简单的 clipboard 地址: https://github.com/doxiaodong/ng2-clip使用 <button clip=“The word you want to copy” (onClip)=“callback($event)”></button> <button [clip]="‘The word you want to copy’" (onClip)=“callback($event)”></button>
希望有人用,哈哈
借 angular2 的势头写一个超简单的 clipboard 地址: https://github.com/doxiaodong/ng2-clip使用 <button clip=“The word you want to copy” (onClip)=“callback($event)”></button> <button [clip]="‘The word you want to copy’" (onClip)=“callback($event)”></button>
希望有人用,哈哈