Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActionController

节流 防抖 对象

Hierarchy

  • ActionController

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private debounceObj

debounceObj: ActionObject

Private throttleObject

throttleObject: ActionObject

Methods

debounce

  • debounce(...args: unknown[]): void

goWhat

  • goWhat(args: unknown[]): (actionName: "debounceObj" | "throttleObject") => void
  • Parameters

    • args: unknown[]

    Returns (actionName: "debounceObj" | "throttleObject") => void

      • (actionName: "debounceObj" | "throttleObject"): void
      • Parameters

        • actionName: "debounceObj" | "throttleObject"

        Returns void

throttle

  • throttle(...args: unknown[]): void

Generated using TypeDoc