{"_id":"vue-static-skeleton-directive","_rev":"1-a0ef6aed00f56b38eee7b21ceb3489fc","name":"vue-static-skeleton-directive","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"vue-static-skeleton-directive","version":"0.0.1","description":"Vue directive for static skeleton loading","main":"index.js","scripts":{"dev":"cross-env NODE_ENV=development webpack-dev-server --open --config ./test/webpack.config.js"},"author":{"name":"汪韬","email":"452663934@qq.com"},"repository":{"type":"git","url":"git+https://github.com/wt911122/vue-static-skeleton-directive.git"},"keywords":["vue-lazyload","vue","lazyload","static-skeleton"],"license":"ISC","devDependencies":{"@babel/core":"^7.8.7","@vue/test-utils":"^1.0.0-beta.32","babel-loader":"^8.0.6","chai":"^4.2.0","cross-env":"^7.0.2","css-loader":"^3.4.2","file-loader":"^5.1.0","karma":"^4.4.1","karma-chai":"^0.1.0","karma-coverage":"^2.0.1","karma-expect":"^1.1.3","karma-mocha":"^1.3.0","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.32","karma-webpack":"^4.0.2","mocha":"^7.1.0","vue":"^2.6.11","vue-loader":"^15.9.0","vue-template-compiler":"^2.6.11","webpack":"^4.42.0","webpack-cli":"^3.3.11","webpack-dev-server":"^3.10.3"},"gitHead":"8d6574197710380925834e485c1ea02ca20b0f0b","bugs":{"url":"https://github.com/wt911122/vue-static-skeleton-directive/issues"},"homepage":"https://github.com/wt911122/vue-static-skeleton-directive#readme","_id":"vue-static-skeleton-directive@0.0.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-qjrFw4/kE0xtdxYIFIi4XGCPi1oM9X4wLvEcXi/Os7vtNuhMod3CKdqZ1FIxqUNug8nT8KMxMbC4QrHYKDbrkg==","shasum":"1646676a960ad46cf9be48a6e1a6984234f4bb94","tarball":"https://registry.npmjs.org/vue-static-skeleton-directive/-/vue-static-skeleton-directive-0.0.1.tgz","fileCount":10,"unpackedSize":8069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb0RfCRA9TVsSAnZWagAApRMP/iTpxqC+yzFdSZwHoFGu\nTgWlgpic7HPptLEUy+IRajXpeRtjdVpApmiJNmFbFblqeEDPkQiGPErCYtga\ngkOQirE1fXx3smyufMju3JlvR78nlfKTlJ6xPecunQd+cE8xJ8XKUjG5nhN+\nH+yhYlKAHTHtCyhcVdNRCURQybWX278dZqE1TsUtXKm8U8s3uw5wWSguGSVP\nG/vjMkclWsgDibrJqr44LgUOrJpB6c4jD0v7V9iTHH13qfQrskvqKtRi0x0n\nd8sRsdSDukna+R+kgGQEqNhNHDSlwgbzKiz85aoUIFcmWmP+tD1ZSFyePInX\nn9IeruSSnZdHv4tNGqQBGXewYrMasacsv/pzxxJQ/0ckPQ3wh1eKjyuxpT8P\nDa3eQhRj5fLaMKX7s9fSejCMUMzIP4cRPlFfepvmzHFwd4J8sWvL5p1T/P44\nsmR+0HX0UiSbVnecjnTIT/RwnWlazMCEeO5+8G2z/Fui+nA7nfPMPk6kV7tL\nCyHYzPsNjCEaZHoV22N8nOwW5H3GqI31mkqQjxQmp1bnZfB28svwQAowI4pn\nmQAV02uHxmg8xC3I8upeg2br/iqFQL3iB15hBx9FY3qhb9yIOKQh5SNmaFeC\n1Z98TACmk25MdsUXrcO9xskH0OLtihBv5/1czwHV62APiX5h5mip62k36LsU\nQXx6\r\n=G14i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKaqTzHXPfXsFx/eHGYL0b1gMbwMvOXB1XNr5S/GoGjwIhANhzTzNoIKAxMkqDV9Y5uBFoT8TT0ATNIEpRilHQSP6b"}]},"maintainers":[{"name":"sonicscrewdriver","email":"452663934@qq.com"}],"_npmUser":{"name":"sonicscrewdriver","email":"452663934@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-static-skeleton-directive_0.0.1_1584350302578_0.6694390117907418"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-16T09:18:22.578Z","0.0.1":"2020-03-16T09:18:22.743Z","modified":"2022-05-23T19:05:20.905Z"},"maintainers":[{"name":"sonicscrewdriver","email":"452663934@qq.com"}],"description":"Vue directive for static skeleton loading","homepage":"https://github.com/wt911122/vue-static-skeleton-directive#readme","keywords":["vue-lazyload","vue","lazyload","static-skeleton"],"repository":{"type":"git","url":"git+https://github.com/wt911122/vue-static-skeleton-directive.git"},"author":{"name":"汪韬","email":"452663934@qq.com"},"bugs":{"url":"https://github.com/wt911122/vue-static-skeleton-directive/issues"},"license":"ISC","readme":"# vue-static-skeleton-directive\n## 静态骨架指令\n\n### 使用方法\n三个参数必传 \n1. v-skeleton 后面跟主题\n2. sk-status 加载状态\n3. key 用于触发渲染，key值需要与加载态不同\n```vue\n<template>\n    <span v-skeleton=\"'dark'\" :sk-status=\"status\" :key=\"message\">\n        {{ message }}\n    </span>\n</template>\n<script>\nexport default {\n    data(){\n        return {\n            status: 'loaded',\n            message: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'\n        }\n    },\n    created(){\n        this.status = 'loading';\n        setTimeout(() => {\n            this.status = 'loaded';\n            this.message = 'hello world!';\n        }, 3000)\n    }\n}\n</script>\n```","readmeFilename":"README.md"}