mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +00:00
a1c8ac624f
There are still some whitespace and attribute ordering issues, but the result runs correctly.
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);
|
|
}
|
|
|