1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-10 03:49:56 +00:00
TiddlyWiki5/archive/test/tiddlywiki.2.6.5/source/tiddlywiki/js/Scroller.js

11 lines
226 B
JavaScript
Raw Normal View History

2011-11-22 14:29:29 +00:00
//--
//-- Scroller animation
//--
function Scroller(targetElement)
{
var p = [{style: '-tw-vertScroll', start: findScrollY(), end: ensureVisible(targetElement)}];
return new Morpher(targetElement,config.animDuration,p);
}