摘要: // 复制链接 copyLinkHandler() { const input = document.querySelector('#private-link-code'); input.value = this.copyLinkTxt; // 选中赋值过的input input.select(); 阅读全文
posted @ 2020-03-09 15:08 面包_girl 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 1.安装命令 npm install ngx-clipboard 2.在当前所需组件的module中引入ClipboardModule; 3.在组件中使用 阅读全文
posted @ 2020-03-09 10:30 面包_girl 阅读(1205) 评论(0) 推荐(0) 编辑
/* 鼠标点击文字特效 */