MCPcopy
hub / github.com/Splidejs/splide / mount

Function mount

src/js/components/Wheel/Wheel.ts:39–43  ·  view source on GitHub ↗

* Called when the component is mounted.

()

Source from the content-addressed store, hash-verified

37 * Called when the component is mounted.
38 */
39 function mount(): void {
40 if ( options.wheel ) {
41 bind( Components.Elements.track, 'wheel', onWheel, SCROLL_LISTENER_OPTIONS );
42 }
43 }
44
45 /**
46 * Called when the user rotates the mouse wheel on the slider.

Callers

nothing calls this directly

Calls 1

bindFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…