MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / getScroll

Method getScroll

code/main/RenderLocation.ts:53–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52 // Public getters
53 public getScroll(): number{
54 return $("html").scrollTop();
55 }
56
57 public getScrolling(): boolean{
58 return this.scrolling;

Callers 1

Calls 2

$Function · 0.85
scrollTopMethod · 0.80

Tested by

no test coverage detected