Wondering what’s next for npm?Check out our public roadmap! »

    util-lib-throttle

    1.0.0 • Public • Published

    util-lib-throttle

    Throttle method of encapsulation integration

    Usage

        const utils = require('util-lib-throttle');
    
        // 绑定滚动事件
        window.addEventListener('scroll', utils.throttle(function (e) {
            console.log(11);
        }, 2000))

    Install

    npm i util-lib-throttle

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    3.04 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar