AngularJS 的剪贴板扩展 ngClip
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/asafdav/ng-clip
- 软件文档: https://github.com/asafdav/ng-clip
软件介绍
ngClip 是一个 AngularJS 的扩展指令,封装了 ZeroClipboard 实现了拷贝到剪贴板的功能。
示例代码:
.config(['ngClipProvider', function(ngClipProvider) { ngClipProvider.setPath("bower_components/zeroclipboard/dist/ZeroClipboard.swf"); }]); var myapp = angular.module('myapp', ['ngClipboard'])
使用方法:
<a href="" clip-copy="getTextToCopy()" clip-click="doSomething()">Copy</a> <a href="" clip-click"getHtmlToCopy()" clip-copy-mime-type="text/html">Copy HTML</a> <a href="" clip-click-fallback="fallback(copy)" clip-copy="getTextToCopy()" clip-click="doSomething()">Copy</a>
The Linux Command Line
William E. Shotts Jr. / No Starch Press, Incorporated / 2012-1-17 / USD 39.95
You've experienced the shiny, point-and-click surface of your Linux computer-now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very ......一起来看看 《The Linux Command Line》 这本书的介绍吧!