1 line
96 KiB
JavaScript
1 line
96 KiB
JavaScript
|
webpackJsonp([27],{"1qXA":function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.info={title:"Button \u6309\u94AE",preview:"https://didi.github.io/mand-mobile/examples/#/button"},a=e.body="<p>\u6309\u94AE\u7EC4\u4EF6\uFF0C\u53EF\u914D\u7F6E\u591A\u79CD\u4E0D\u540C\u7684\u6309\u94AE\u6837\u5F0F</p>\n<h3 id=\"\u5F15\u5165\">\u5F15\u5165<a href=\"javascript:jumpAnchor('\u5F15\u5165')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><pre><code class=\"lang-javascript\">import { Button } from <span class=\"hljs-string\">'mand-mobile'</span>\n\nVue.component(<span class=\"hljs-keyword\">Button</span>.name, <span class=\"hljs-keyword\">Button</span>)\n</code></pre>\n<h3 id=\"\u4EE3\u7801\u6F14\u793A\">\u4EE3\u7801\u6F14\u793A<a href=\"javascript:jumpAnchor('\u4EE3\u7801\u6F14\u793A')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><!-- DEMO -->\n<h3 id=\"API\">API<a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h4 id=\"Button Props\">Button Props<a href=\"javascript:jumpAnchor('Button Props')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><table>\n<thead>\n<tr>\n<th>\u5C5E\u6027</th>\n<th>\u8BF4\u660E</th>\n<th>\u7C7B\u578B</th>\n<th>\u9ED8\u8BA4\u503C</th>\n<th>\u5907\u6CE8</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>\u6309\u94AE\u7C7B\u578B</td>\n<td>String</td>\n<td><code>primary</code></td>\n<td><code>primary</code>, <code>ghost</code>, <code>ghost-primary</code>, <code>link</code></td>\n</tr>\n<tr>\n<td>size</td>\n<td>\u6309\u94AE\u5927\u5C0F</td>\n<td>String</td>\n<td><code>large</code></td>\n<td><code>large</code>, <code>small</code>\u3002\u4EC5\u5728<code>type</code>\u4E3A<code>ghost/ghost-primary</code>\u65F6\u751F\u6548</td>\n</tr>\n<tr>\n<td>icon</td>\n<td>\u6309\u94AE\u56FE\u6807</td>\n<td>String</td>\n<td>-</td>\n<td>\u53EF\u9009\u503C\u8BF7\u53C2\u8003\u7EC4\u4EF6<code>Icon</code></td>\n</tr>\n<tr>\n<td>disabled</td>\n<td>\u662F\u5426\u7981\u7528</td>\n<td>Boolean</td>\n<td><code>false</code></td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n<h4 id=\"Button Events\">Button Events<a href=\"javascript:jumpAnchor('Button Events')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><h5 id=\"@click(event)\">@click(event)<a href=\"javascript:jumpAnchor('@click(event)')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h5\">#</a></h5><p>\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6</p>\n",s=e.toc="<a href=\"javascript:jumpAnchor('\u5F15\u5165')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">\u5F15\u5165</a><a href=\"javascript:jumpAnchor('\u4EE3\u7801\u6F14\u793A')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">\u4EE3\u7801\u6F14\u793A</a><a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">API</a><a href=\"javascript:jumpAnchor('Button Props')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">Button Props</a><a href=\"javascript:jumpAnchor('Button Events')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">Button Events</a><a href=\"javascript:jumpAnchor('@click(event)')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h5\">@click(event)</a>"},"3IRH":function(t){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],!t.children&&(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"3gTu":function(t,e,o){"use strict";function a(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}Object.defineProperty(e,"__esModule",{value:!0});var s=o("oOyB"),n=function(t){return t&&t.__esModule?t:{default:t}}(s);e.default={name:"button-demo",title:"\u7EBF\u6027\u6309\u94AE",components:a({},n.default.name,n.default)}},"5zTL":function(t,e,o){"use strict";function a(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}Object.defineProperty(e,"__esModule",{value:!0});var s=o("oOyB"),n=function(t){ret
|