本页还没有译文
本页 26 段还没译成Español,下面显示的是英文原文。VueBatcher
还没翻译译自英文(tanstack.com)本页 26 段都还没译
Defined in: batcher/useBatcher.ts:19
A Batcher with framework-reactive selected state. All core methods remain available.
Extends
Omit<Batcher<TValue>,"options"|"setOptions">
Type Parameters
TValue
TValue
TSelected
TSelected = {
}
Properties
options
options: Omit<Required<BatcherOptions<TValue>>, "initialState" | "key" | "onItemsChange" | "onExecute"> & Partial<Pick<Required<BatcherOptions<TValue>>, "initialState" | "key" | "onItemsChange" | "onExecute">> & VueBatcherOptions<TValue, TSelected>;Defined in: batcher/useBatcher.ts:23
setOptions
setOptions: (options) => void;Defined in: batcher/useBatcher.ts:24
Parameters
options
Partial<VueBatcherOptions<TValue, TSelected>>
Returns
void
state
readonly state: Readonly<ShallowRef<TSelected>>;Defined in: batcher/useBatcher.ts:28
Selected state. Pass a selector to opt in; the default selection is an empty object.
Subscribe
Subscribe: VuePacerSubscribe<BatcherState<TValue>>;Defined in: batcher/useBatcher.ts:26
Subscribes a scoped slot to state without re-rendering the utility owner.
AI 翻译查看英文原文