MCPcopy
hub / github.com/philc/vimium / init

Function init

content_scripts/scroller.js:188–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186// ultimately translated to relative scrolls. CoreScroller is not exported.
187const CoreScroller = {
188 init() {
189 this.time = 0;
190 this.lastEvent = this.keyDownKey = null;
191 this.installCancelEventListener();
192 },
193
194 // This installs listeners for events which should cancel smooth scrolling.
195 installCancelEventListener() {

Callers

nothing calls this directly

Calls 4

pushMethod · 0.45
initMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected