文件名称:scroll-to-focused:如果该元素获得焦点,则将元素滚动到视图中
文件大小:3KB
文件格式:ZIP
更新时间:2024-07-07 19:49:14
JavaScript
如何使用 bower install --save scroll-to-focused scrollToFocused . configure ( { container : < %= element , or selector % > } ) . start ( ) ; 可能的配置选项: config : { container : null , // container in which to scroll items into focus. focusedSelector : '.focused' , // css selector to grab the item that has focus moveFocusEvent : 'focus-gained' , // event in which to listen for new focus even
【文件预览】:
scroll-to-focused-master
----.jshintrc(592B)
----source()
--------main.js(3KB)
----bower.json(623B)
----license(1KB)
----README.md(808B)