yindu-wipe

    2.0.4 • Public • Published

    yindu wipe plugin

    • npm/cnpm i yindu-wipe
    属性 名称 默认值 是否必须
    canvas canvas 为空会自动创建
    width canvas宽度 window.innerWidth
    height canvas高度 window.innerHeight
    ratio 比例 .5
    radius 擦除半径 10
    cb 擦除完后的回调 null
        const YinduWipe = require("yindu-wipe.js");
        new YinduWipe({
            canvas:document.querySelector("#canvas"),
            ratio:.75,
            radius:20,
            cb:function(){}
        });
    
        
    

    Keywords

    Install

    npm i yindu-wipe

    DownloadsWeekly Downloads

    0

    Version

    2.0.4

    License

    ISC

    Unpacked Size

    48 kB

    Total Files

    8

    Last publish

    Collaborators

    • chinazhanghai