{"_id":"u-checkbox.vue","_rev":"3-8e591cdbab8225092f5d3c65da49335a","name":"u-checkbox.vue","description":"Vusion Proto UI - Checkbox","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"u-checkbox.vue","description":"Vusion Proto UI - Checkbox","version":"0.1.0","author":{"name":"Rainfore","email":"rainforest92@126.com"},"main":"./index.js","repository":{"type":"git","url":"git+https://github.com/vusion/proto-ui.git"},"homepage":"http://vusion.github.io","bugs":{"url":"http://github.com/vusion/proto-ui/issues"},"license":"MIT","keywords":["vusion","proto","ui","proto-ui"],"tags":["vusion","proto","ui","proto-ui"],"peerDependencies":{"vue":"^2.4.0"},"_id":"u-checkbox.vue@0.1.0","scripts":{},"_shasum":"bb613a71ddae46d855f820aca84fd1da8d4f7c96","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"rainfore","email":"rainforest92@126.com"},"dist":{"shasum":"bb613a71ddae46d855f820aca84fd1da8d4f7c96","tarball":"https://registry.npmjs.org/u-checkbox.vue/-/u-checkbox.vue-0.1.0.tgz","integrity":"sha512-zOD/JTgaVC6as4YJHCmFwmAwtKC5qZpfBz3TyERrkJF7C34bXl7L8YrU/t5+5cbC72N8/02MU/MGqGulh3Lv5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0nfUT2UEej8HN4myw3/40dE+ZcHmjEOEIYzPo6SkM8AIhAKSq+1PprrjHIn04EETPNEbCW2I2vvJcNv0QS/cC84DF"}]},"maintainers":[{"name":"rainfore","email":"rainforest92@126.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/u-checkbox.vue-0.1.0.tgz_1502264899362_0.49737403728067875"}},"0.1.1":{"name":"u-checkbox.vue","description":"Vusion Proto UI - Checkbox","version":"0.1.1","author":{"name":"Rainfore","email":"rainforest92@126.com"},"main":"./index.js","repository":{"type":"git","url":"git+https://github.com/vusion/proto-ui.git"},"homepage":"http://vusion.github.io","bugs":{"url":"http://github.com/vusion/proto-ui/issues"},"license":"MIT","keywords":["vusion","proto","ui","proto-ui"],"tags":["vusion","proto","ui","proto-ui"],"dependencies":{"u-field.vue":"~0.1.4"},"peerDependencies":{"vue":"^2.4.0"},"_id":"u-checkbox.vue@0.1.1","scripts":{},"_shasum":"65d191da8c4989d095e4693e82e14d4d617ffb7e","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"rainfore","email":"rainforest92@126.com"},"dist":{"shasum":"65d191da8c4989d095e4693e82e14d4d617ffb7e","tarball":"https://registry.npmjs.org/u-checkbox.vue/-/u-checkbox.vue-0.1.1.tgz","integrity":"sha512-ri1cAzvIOEUN25/kFYsEpzqb1+l7GUZNru3s9TtxLEvwOdwe5jb2Is6egBcfXYNVGin2Y+dI9t89N63lWacJ/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZ6Wup+BJryo6s+CQDO+AORmgm39FPBbZH1+kUr7gMTAIgH4xCgm4XLCuYk9iOLxoKeheQKA++dgXW1Mke6vV6Hk0="}]},"maintainers":[{"name":"rainfore","email":"rainforest92@126.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/u-checkbox.vue-0.1.1.tgz_1504151809645_0.7401817706413567"}}},"readme":"# Checkbox\n\n## Examples\n### Basic\n\n``` html\n<u-checkbox>Checkbox</u-checkbox>\n```\n\n### v-model\n\n``` vue\n<template>\n<u-checkbox v-model=\"value\">{{ value }}</u-checkbox>\n</template>\n<script>\nexport default {\n    data() {\n        return {\n            value: true,\n        };\n    },\n};\n</script>\n```\n\n### Disabled\n\n``` html\n<u-linear-layout>\n    <u-checkbox :value=\"true\" readonly>Readonly</u-checkbox>\n    <u-checkbox :value=\"true\" disabled>Disabled</u-checkbox>\n</u-linear-layout>\n```\n\n### Indeterminate\n\n``` html\n<u-checkbox :value=\"null\">Indeterminate</u-checkbox>\n```\n\n## API\n### Attrs/Props\n\n| Attr/Prop | Type | Default | Description |\n| --------- | ---- | ------- | ----------- |\n| value | Boolean \\| null | `false` | Checked status. `null` means indeterminate status.  |\n| readonly | Boolean | `false` | Readonly |\n| disabled | Boolean | `false` | Disabled |\n\n### Slots\n\n| Slot | Description |\n| ---- | ----------- |\n| (default) | |\n\n### Events\n\n#### @input\n\nEmit when checking.\n\n| Property | Type | Description |\n| -------- | ---- | ----------- |\n| value | Boolean \\| null | Checked value |\n\n#### @change\n\nEmit when change value.\n\n| Property | Type | Description |\n| -------- | ---- | ----------- |\n| newValue | Boolean \\| null | New value |\n| oldValue | Boolean \\| null | Old value |\n","maintainers":[{"name":"rainfore","email":"rainforest92@126.com"}],"time":{"modified":"2022-06-28T02:25:42.819Z","created":"2017-08-09T07:48:19.498Z","0.1.0":"2017-08-09T07:48:19.498Z","0.1.1":"2017-08-31T03:56:49.951Z"},"homepage":"http://vusion.github.io","keywords":["vusion","proto","ui","proto-ui"],"repository":{"type":"git","url":"git+https://github.com/vusion/proto-ui.git"},"author":{"name":"Rainfore","email":"rainforest92@126.com"},"bugs":{"url":"http://github.com/vusion/proto-ui/issues"},"license":"MIT","readmeFilename":"README.en-US.md"}