Neptunium, Promethium, Manganese

    wy-utils

    1.0.0 • Public • Published

    wy-utils

    常用的工具类整理

    debonce
        import {debonce} from 'wy-utils';
        let log = debonce((...rest)=>{
            console.log(rest);
        },300);
        
        window.addEventListener('scroll',log);
        window.addEventListener('scroll',(e)=>{log(e,1,2,3)});
        
    

    Keywords

    none

    Install

    npm i wy-utils

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.98 kB

    Total Files

    6

    Last publish

    Collaborators

    • wy760104178