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 3
[美]泽德 A. 肖 / 王巍巍 / 人民邮电出版社 / 2018-6-1 / CNY 59.00
本书是一本Python入门书,适合对计算机了解不多,没有学过编程,但对编程感兴趣的读者学习使用。这本书以习题的方式引导读者一步一步学习编程,从简单的打印一直讲到完整项目的实现,让初学者从基础的编程技术入手,最终体验到软件开发的基本过程。本书是基于Python 3.6版本编写的。 本书结构非常简单,除“准备工作”之外,还包括52个习题,其中26个覆盖了输入/输出、变量和函数3个主题,另外26个......一起来看看 《笨办法学Python 3》 这本书的介绍吧!
