ngx-clipboard:纯角度剪贴板指令

时间:2021-01-31 06:58:34
【文件属性】:
文件名称:ngx-clipboard:纯角度剪贴板指令
文件大小:220KB
文件格式:ZIP
更新时间:2021-01-31 06:58:34
clipboard angular commitizen aot AngularTypeScript ngx剪贴板,FKA 从6.0.0开始,不再有其他JS依赖项。 只是角。 它适用于角度版本2.0.0及更高版本 为了使将来的Angular版本控制方案更有意义,现在将指令选择器重命名为ngxClipboard 其他套餐 :它可以延迟加载img /图片,防止回流和seo友好。 依存关系 如果需要在2.x上使用它,请使用7.xx版 如果需要在4.x上使用它,请使用8.xx版 如果需要在5.x上使用它,请使用10.xx版 如果您需要在8.x上使用它,请使用版本12.xx 如果需要在9.x上使用它,请使用版本13.xx 如果需要在10.x上使用它,请使用版本14.xx 代码基本相同,在v8.0.0中,它使用的是InjectionToken,它需要angular4及更高版本。 安装 您可以在npm上获得它。 npm install ngx-clipboard --save 打开您的模块文件,例如app.module.ts并更新导入数组 import { ClipboardModule } from 'ngx-clipboard' ; ... imports: [ ... C
【文件预览】:
ngx-clipboard-master
----.travis.yml(469B)
----tsconfig.app.json(213B)
----package.json(3KB)
----tslint.json(3KB)
----.github()
--------FUNDING.yml(676B)
----.prettierrc(304B)
----.prettierignore(5B)
----tsconfig.spec.json(251B)
----angular.json(6KB)
----LICENSE(1KB)
----src()
--------tslint.json(198B)
--------test.ts(632B)
--------assets()
--------index.html(660B)
--------app()
--------main.ts(379B)
--------styles.css(80B)
--------polyfills.ts(3KB)
--------karma.conf.js(1KB)
--------environments()
--------favicon.ico(5KB)
----tsconfig.json(702B)
----tsconfig.base.json(724B)
----e2e()
--------tsconfig.e2e.json(217B)
--------protractor.conf.js(752B)
--------src()
----.gitignore(501B)
----.browserslistrc(375B)
----README.md(8KB)
----yarn.lock(474KB)
----.editorconfig(245B)
----projects()
--------ngx-clipboard()
----.vscode()
--------cSpell.json(459B)
--------tasks.json(275B)
--------spell.json(717B)

网友评论