简体   繁体   English

是否有Google关闭库滚动条?

[英]Does have google closure library scrollbar?

Does Google closure library contains something like http://baijs.nl/tinyscrollbar /? Google闭包库是否包含http://baijs.nl/tinyscrollbar /之类的内容?

I searched the library and I was found ui.ContainerScroller, etc. But all scrolling just using CSS (overflow) and not with JS. 我搜索了该库,并发现了ui.ContainerScroller等。但是,所有滚动仅使用CSS(溢出),而不使用JS。 I need to scroll div in another div with styleable scrollbar. 我需要使用可样式化的滚动条在另一个div中滚动div。 I'm very glad for example. 例如,我很高兴。

No, the Google Closure Library does not come with a customizable scrollbar. 否,Google Closure库不带有可自定义的滚动条。

I see a few options: 我看到一些选择:

  1. Load a custom Google Closure scrollbar that someone else has created 加载其他人创建的自定义Google关闭滚动条
  2. Port a non-Closure variant to Google Closure 将非关闭变量移植到Google关闭
  3. Import one from outside of Google Closure code via an extern 通过从谷歌关闭代码之外导入一个EXTERN
  4. Roll your own 自己滚

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM