MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / scrollIntoView

Method scrollIntoView

frontend/src/ts/utils/dom.ts:273–276  ·  view source on GitHub ↗

* Make element visible by scrolling the element's ancestor containers

(options?: ScrollIntoViewOptions)

Source from the content-addressed store, hash-verified

271 * Make element visible by scrolling the element's ancestor containers
272 */
273 scrollIntoView(options?: ScrollIntoViewOptions): this {
274 this.native.scrollIntoView(options);
275 return this;
276 }
277
278 /**
279 * Add a class to the element

Callers 6

page-controller.tsFile · 0.80
TableFunction · 0.80
AccountPageFunction · 0.80
scrollToCenterOrTopFunction · 0.80
keepActiveCommandInViewFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected