Options
All
  • Public
  • Public/Protected
  • All
Menu

Debounces an event listener that is executed after the event happened, either at the start or at the end. A debounced event listener is not executed again until a certain amount of time has passed without it being called.

Hierarchy

Index

Constructors

constructor

  • new DebounceEvent(eventName: string, callback: Listener, wait?: number, immediate?: boolean): DebounceEvent

Properties

Protected callback

callback: Listener

Protected eventName

eventName: string

Methods

bindTo

  • bindTo(element: EventTarget): void

Private debounce

delegateTo

  • delegateTo(element: EventTarget, selector: string): void

release

  • release(): void

Generated using TypeDoc