kopia lustrzana https://github.com/miklobit/TiddlyWiki5
11 wiersze
226 B
JavaScript
11 wiersze
226 B
JavaScript
|
//--
|
||
|
//-- Scroller animation
|
||
|
//--
|
||
|
|
||
|
function Scroller(targetElement)
|
||
|
{
|
||
|
var p = [{style: '-tw-vertScroll', start: findScrollY(), end: ensureVisible(targetElement)}];
|
||
|
return new Morpher(targetElement,config.animDuration,p);
|
||
|
}
|
||
|
|