MCPcopy
hub / github.com/dolphin-wood/smooth-scrollbar / destroyAll

Method destroyAll

src/index.ts:109–113  ·  view source on GitHub ↗

* Removes all scrollbar instances from current document

()

Source from the content-addressed store, hash-verified

107 * Removes all scrollbar instances from current document
108 */
109 static destroyAll() {
110 scrollbarMap.forEach((scrollbar) => {
111 scrollbar.destroy();
112 });
113 }
114
115 /**
116 * Attaches plugins to scrollbars

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected