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

Method scrollMode

src/index.ts:127–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126 private mode: "smooth" | "disable" | "default" = "smooth"
127 get scrollMode(){
128 return this.mode
129 }
130 set scrollMode(scrollMode: "smooth" | "disable" | "default"){
131 document.documentElement.classList.remove(`-${this.mode}`)
132 this.mode = scrollMode

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected