Open History to see the last commit
Defined in: debouncer/useDebouncer.ts:23
A Debouncer with framework-reactive selected state. All core methods remain available.
Extends#
Omit<Debouncer<TFn>,"options"|"setOptions">
Type Parameters#
TFn#
TFn extends AnyFunction
TSelected#
TSelected = {
}
Properties#
options#
options: DebouncerOptions<TFn> & VueDebouncerOptions<TFn, TSelected>;
Defined in: debouncer/useDebouncer.ts:27
setOptions#
setOptions: (options) => void;
Defined in: debouncer/useDebouncer.ts:28
Parameters#
options#
Partial<VueDebouncerOptions<TFn, TSelected>>
Returns#
void
state#
readonly state: Readonly<ShallowRef<TSelected>>;
Defined in: debouncer/useDebouncer.ts:32
Selected state. Pass a selector to opt in; the default selection is an empty object.
Subscribe#
Subscribe: VuePacerSubscribe<DebouncerState<TFn>>;
Defined in: debouncer/useDebouncer.ts:30
Subscribes a scoped slot to state without re-rendering the utility owner.