MCPcopy Create free account
hub / github.com/Fiddle-Digital/string-scroll / constructor

Method constructor

src/Scrollbar/StringScrollbar.ts:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 private isScrollbarWillShow = true
7
8 constructor() {
9 this.createScrollbar();
10 this.updateThumb();
11 this.addCustomStyles()
12 }
13
14 private addCustomStyles() {
15 const style = document.createElement('style');

Callers

nothing calls this directly

Calls 3

createScrollbarMethod · 0.95
updateThumbMethod · 0.95
addCustomStylesMethod · 0.95

Tested by

no test coverage detected