本页还没有译文
本页 11 段还没译成Tiếng Việt,下面显示的是英文原文。providePacerOptions
还没翻译译自英文(tanstack.com)本页 11 段都还没译
function providePacerOptions(host, options): void;Defined in: provider/PacerProvider.ts:55
Supplies reactive defaults for this host and its descendants, including across shadow roots. Call during construction, before creating utilities. The nearest provider wins, and each utility's local options override provider defaults.
Parameters
host
ReactiveControllerHost
options
LitPacerOptions<PacerProviderOptions>
Returns
void
Example
constructor() {
super()
providePacerOptions(this, () => ({
debouncer: { leading: this.leading },
}))
}AI 翻译查看英文原文