TiddlyWiki5/tw2/source/tiddlywiki/js/Scroller.js

11 wiersze
226 B
JavaScript
Czysty Zwykły widok Historia

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