underscore.js: _.throttle(function, wait)

前端 未结 5 1093
轮回少年
轮回少年 2021-02-19 13:21

According the underscore documentation:

throttle_.throttle(function, wait)
Creates and returns a new, throttled version of the pa

5条回答
  •  猫巷女王i
    2021-02-19 13:30

    _.throttle is used to prevent frequent calls on a method for a particular ms.Refer image to understand this RestrictfrequentCall.jpg

提交回复
热议问题