Angular 滚动条 angular-nice-bar
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/forsigner/angular-nice-bar
- 软件文档: https://github.com/forsigner/angular-nice-bar
软件介绍
一个轻量级的Angular scrollbar.
Install
bower install angular-nice-bar --save
Usage
<link rel="stylesheet" href="bower_components/angular-nice-bar/dist/css/angular-nice-bar.css" /> <script src="bower_components/angular-nice-bar/dist/js/angular-nice-bar.js"></script>
angular.module('app', ['ngNiceBar']);As a directive
angular.module('app', ['foPopover']);<div nice-bar nice-bar-delay="1000" nice-bar-theme="dark"> <!-- content here--></div>
As a service
<div id="container"> <!-- content here--></div>
angular.module('app', ['ngNiceBar'])
.controller('HomeCtrl', function($scope, niceBar) { $timeout(function() { niceBar.init(document.getElementById('container'));
}, 10);
});Custom theme
You can custom scrollbar style with CSS easily:
.nice-bar .nice-bar-slider-y { background: #222; /* whatever */}
Node.js实战
[美] Mike Cantelon、[美] TJ Holowaychuk、[美] Nathan Rajlich / 吴海星 / 人民邮电出版社 / 2014-5 / 69.00元
服务器端JavaScript?没错。Node.js是一个JavaScript服务器,支持可伸缩的高性能Web应用。借助异步I/O,这个服务器可以同时做很多事情,能满足聊天、游戏和实时统计等应用的需求。并且既然是JavaScript,那你就可以全栈使用一种语言。 本书向读者展示了如何构建产品级应用,对关键概念的介绍清晰明了,贴近实际的例子,涵盖从安装到部署的各个环节,是一部讲解与实践并重的优秀......一起来看看 《Node.js实战》 这本书的介绍吧!
