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

Method bind

src/js/constructors/EventBinder/EventBinder.ts:18–18  ·  view source on GitHub ↗
( target: EventTargets, events: string | string[], callback: AnyFunction, options?: AddEventListenerOptions )

Source from the content-addressed store, hash-verified

16 */
17export interface EventBinderObject {
18 bind( target: EventTargets, events: string | string[], callback: AnyFunction, options?: AddEventListenerOptions ): void
19 unbind( target: EventTarget | EventTarget[], events: string | string[], callback?: AnyFunction ): void;
20 dispatch<T>( target: EventTarget, event: string, detail?: T ): void;
21 destroy(): void;

Callers 10

mountFunction · 0.80
AutoplayFunction · 0.80
registerFunction · 0.80
general.test.tsFile · 0.80
appendFunction · 0.80
applyFunction · 0.80
onFunction · 0.80
bindFunction · 0.80
destroy.test.tsFile · 0.80
destroyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected