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 */}
Python算法教程
[挪威] Magnus Lie Hetland 赫特兰 / 凌杰、陆禹淳、顾俊 / 人民邮电出版社 / 2016-1-1 / 69.00元
本书用Python语言来讲解算法的分析和设计。本书主要关注经典的算法,但同时会为读者理解基本算法问题和解决问题打下很好的基础。全书共11章。分别介绍了树、图、计数问题、归纳递归、遍历、分解合并、贪心算法、复杂依赖、Dijkstra算法、匹配切割问题以及困难问题及其稀释等内容。本书在每一章结束的时候均有练习题和参考资料,这为读者的自我检查以及进一步学习提供了较多的便利。在全书的最后,给出了练习题的提......一起来看看 《Python算法教程》 这本书的介绍吧!
