DebounceOptions
Interface: DebounceOptions
Defined in: packages/utils/src/debounce.ts:6
Options for debounce behavior
Properties
leading?
optionalleading?:boolean
Defined in: packages/utils/src/debounce.ts:11
If true, invoke the function on the leading edge of the timeout
Default
false
maxWait?
optionalmaxWait?:number
Defined in: packages/utils/src/debounce.ts:23
Maximum time the function is allowed to be delayed before it's invoked
Default
undefined (no maximum)
trailing?
optionaltrailing?:boolean
Defined in: packages/utils/src/debounce.ts:17
If true, invoke the function on the trailing edge of the timeout
Default
true