AngularJS​ 扩展指令 ngScrollbar

码农软件 · 软件分类 · AngularJS 扩展 · 2019-03-17 09:42:55

软件介绍

ngScrollbar 是 AngularJS 的扩展指令。

用于模拟浏览器的滚动条。不支持 IE9 以下的浏览器。对应的AngularJS版本是1.2.x。

以最简单的方式使用,没有复杂的配置,开箱即用。

例子:

<div style="height:300px;overflow:auto;" ng-scrollbar>
    <li ng-repeat="item in items">item</li>
</div>
<div style="height:300px;overflow:auto;" ng-scrollbar scrollbar-x="false" scrollbar-y="true" scrollbar-config="{show:true, autoResize: true, dragSpeed: 1.2}">
    <li ng-repeat="item in items">item</li>
</div>

demon截图

demon2截图

如果要看详细的例子,请直接到github上克隆源码,然后运行bower install 查看。

本文地址:https://codercto.com/soft/d/1530.html

Algorithms on Strings, Trees and Sequences

Algorithms on Strings, Trees and Sequences

Dan Gusfield / Cambridge University Press / 1997-5-28 / USD 99.99

String algorithms are a traditional area of study in computer science. In recent years their importance has grown dramatically with the huge increase of electronically stored text and of molecular seq......一起来看看 《Algorithms on Strings, Trees and Sequences》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具