{"_id":"@agou/simulated-ripple","name":"@agou/simulated-ripple","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.5":{"name":"@agou/simulated-ripple","version":"0.0.5","description":"simulated ripple","main":"dist/simulated-ripple.js","scripts":{"dev":"webpack --watch","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/agoudbg/simulated-ripple.git"},"keywords":["ripple","ripples","simulated-ripple"],"private":false,"author":{"name":"agoudbg"},"license":"ISC","bugs":{"url":"https://github.com/agoudbg/simulated-ripple/issues"},"homepage":"https://github.com/agoudbg/simulated-ripple#readme","devDependencies":{"babel-core":"^6.24.0","babel-loader":"^6.4.0","babel-preset-es2015":"^6.24.0","webpack":"^2.2.1"},"dependencies":{"promise":"^7.1.1"},"_id":"@agou/simulated-ripple@0.0.5","gitHead":"c5771d29a7e501b6a64daee0b9d6d5b789c2278a","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-avLrepMiAoFZIo3eSMF3gb5F51N0Xz/6ygXHpNqikrDPwkwM/68AW7nlLdc+pyPCmpi+2+O3SN/Zrkx2d6P5Lw==","shasum":"99d4f04d8c106580d1a502a2a2b8f9b7ae7902c1","tarball":"https://registry.npmjs.org/@agou/simulated-ripple/-/simulated-ripple-0.0.5.tgz","fileCount":14,"unpackedSize":910619,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCPVzYCZpAjYKBHY6L//fZvSKIlXEgvHG5DHZV50EBumAIgNsthrULrfAl4szdrNuLQaO9WteYrKhyZIsODpzNnZfo="}]},"_npmUser":{"name":"agou","email":"agoudbg@gmail.com"},"directories":{},"maintainers":[{"name":"agou","email":"agoudbg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/simulated-ripple_0.0.5_1738990662822_0.10319510311007685"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-08T04:57:42.754Z","0.0.5":"2025-02-08T04:57:43.045Z","modified":"2025-02-08T04:57:43.302Z"},"maintainers":[{"name":"agou","email":"agoudbg@gmail.com"}],"description":"simulated ripple","homepage":"https://github.com/agoudbg/simulated-ripple#readme","keywords":["ripple","ripples","simulated-ripple"],"repository":{"type":"git","url":"git+https://github.com/agoudbg/simulated-ripple.git"},"author":{"name":"agoudbg"},"bugs":{"url":"https://github.com/agoudbg/simulated-ripple/issues"},"license":"ISC","readme":"## simulated-ripple\n\n触摸涟漪反馈效果, 可能存在兼容性问题, 供大家欣赏<br>\n\n[查看DEMO](https://qiuguohui.coding.me/demo/simulated-ripple/index.html)<br>\n\n\n<img src=\"https://github.com/qgh810/qgh810.github.io/blob/master/demo/simulated-ripple/assets/demo.png?raw=true\" width=\"250\" />\n\n### 安装方法\n-  方式一\n```bash\nnpm install @agoudbg/simulated-ripple --save\n```\n\n- 方式二\n\n```bash\n下载项目中的dist/simulated-ripple.min.js, 然后用script标签插入到你的项目中, 如下\n这种方式可以通过window.SimulatedRipple访问\n```\n\n```html\n<script type=\"text/javascript\" src=\"dist/simulated-ripple.min.js\"></script>\n```\n\n<br>\n\n### 使用方法\n\n```js\nimport SimulatedRipple from 'simulated-ripple'\n\n// 最简单的使用方法\nnew SimulatedRipple('.btn')\n\n// 更多配置\nnew SimulatedRipple('.btn', {\n  time: 1200, // 设置涟漪时间\n  hideSelf: true // 设置动画过程是否将原图隐藏\n})\n```\n","readmeFilename":"README.md"}