mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-01 05:49:55 +00:00
07df513140
Testing against the output of cook.rb isn't satisfactory because of the bugs in it; instead we're now going to test against the tiddlywiki.com build products
11 lines
226 B
JavaScript
Executable File
11 lines
226 B
JavaScript
Executable File
//--
|
|
//-- Scroller animation
|
|
//--
|
|
|
|
function Scroller(targetElement)
|
|
{
|
|
var p = [{style: '-tw-vertScroll', start: findScrollY(), end: ensureVisible(targetElement)}];
|
|
return new Morpher(targetElement,config.animDuration,p);
|
|
}
|
|
|