本页还没有译文
本页 32 段还没译成Tiếng Việt,下面显示的是英文原文。ThrottlerController
还没翻译译自英文(tanstack.com)本页 32 段都还没译
Defined in: throttler/ThrottlerController.ts:9
Owns a Throttler for a Lit host. Access core methods and selected state through pacer.
Type Parameters
TFn
TFn extends AnyFunction
TSelected
TSelected = {
}
Constructors
Constructor
new ThrottlerController<TFn, TSelected>(
host,
fn,
options,
selector?): ThrottlerController<TFn, TSelected>;Defined in: throttler/ThrottlerController.ts:11
Parameters
host
ReactiveControllerHost
fn
TFn
options
LitPacerOptions<LitThrottlerOptions<TFn, TSelected>>
selector?
(state) => TSelected
Returns
ThrottlerController<TFn, TSelected>
Properties
pacer
readonly pacer: LitThrottler<TFn, TSelected>;Defined in: throttler/ThrottlerController.ts:10
Accessors
state
Get Signature
get state(): Readonly<TSelected>;Defined in: throttler/ThrottlerController.ts:21
Selected reactive state. Reading this property participates in host rendering.
Returns
Readonly<TSelected>
AI 翻译查看英文原文