1 line
161 KiB
JavaScript
1 line
161 KiB
JavaScript
|
webpackJsonp([62],{"/AJx":function(e,t,o){var a,s,i;(function(n,l){s=[t,o("xnBM")],a=l,i="function"==typeof a?a.apply(t,s):a,!(void 0!==i&&(e.exports=i))})(this,function(e,t){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.dom=e.mdBody=e.mdDocument=void 0;var a=function(){function e(e,t){for(var o,a=0;a<t.length;a++)o=t[a],o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,a){return o&&e(t.prototype,o),a&&e(t,a),t}}(),s=function(){function e(){o(this,e)}return a(e,[{key:"appendChild",value:function(){}},{key:"removeChild",value:function(){}},{key:"querySelector",value:function(){}},{key:"addEventListener",value:function(){}},{key:"removeEventListener",value:function(){}}]),e}(),i=new s,n=i,l=i;n.body=l,t.inBrowser&&(e.mdDocument=n=window.document,e.mdBody=l=document.body),e.mdDocument=n,e.mdBody=l,e.dom=i})},"2Sgm":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=t.info={title:"TextareaItem \u591A\u884C\u8F93\u5165\u6846",preview:"https://didi.github.io/mand-mobile/examples/#/TextareaItem"},a=t.body="<p>\u591A\u884C\u6587\u672C\u8F93\u5165\u6846 <sup class=\"version-after\">2.5.0+</sup></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=\"language-javascript\"><span class=\"hljs-keyword\">import</span> { TextareaItem } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'mand-mobile'</span>\n\nVue.component(TextareaItem.name, TextareaItem)</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\n<h3 id=\"API\">API<a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h4 id=\"TextareaItem Props\">TextareaItem Props<a href=\"javascript:jumpAnchor('TextareaItem 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><tr>\n<td>title</td>\n<td>\u6807\u9898</td>\n<td>String</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>placeholder</td>\n<td>\u5360\u4F4D\u7B26</td>\n<td>String</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>v-model</td>\n<td>\u8F93\u5165\u5185\u5BB9</td>\n<td>String</td>\n<td>-</td>\n<td></td>\n</tr>\n<tr>\n<td>max-length</td>\n<td>\u53EF\u8F93\u5165\u7684\u5B57\u7B26\u957F\u5EA6</td>\n<td>String/Number</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>autosize</td>\n<td>\u662F\u5426\u53EF\u81EA\u52A8\u9002\u5E94\u9AD8\u5EA6</td>\n<td>Boolean</td>\n<td><code>false</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td>max-height</td>\n<td>\u5728<code>autosize=true</code>\u7684\u60C5\u51B5, \u6587\u672C\u57DF\u6700\u957F\u7684\u9AD8\u5EA6</td>\n<td>String/Number</td>\n<td><code>'40'</code></td>\n<td>\u4F9D\u8D56<code>autosize</code></td>\n</tr>\n<tr>\n<td>solid</td>\n<td>title\u7684\u5BBD\u5EA6\u662F\u5426\u56FA\u5B9A</td>\n<td>Boolean</td>\n<td><code>true</code></td>\n<td></td>\n</tr>\n<tr>\n<td>readonly</td>\n<td>\u662F\u5426\u53EA\u8BFB</td>\n<td>Boolean</td>\n<td><code>false</code></td>\n<td>-</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<tr>\n<td>clearable <sup class=\"version-after\">2.5.3+</sup></td>\n<td>\u662F\u5426\u6709\u5220\u9664\u56FE\u6807</td>\n<td>Boolean</td>\n<td><code>false</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td>rows</td>\n<td>\u5F00\u59CB\u663E\u793A\u7684\u884C\u6570</td>\n<td>String/Number</td>\n<td><code>'3'</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td>error</td>\n<td>\u662F\u5426\u663E\u793A\u9519\u8BEF, \u5982\u679C\u6709\u5185\u5BB9\u5C31\u8BA4\u5B9A\u662F\u51FA\u9519,
|