1 line
210 KiB
JavaScript
1 line
210 KiB
JavaScript
|
webpackJsonp([54],{"/AJx":function(e,A,t){var o,i,n;(function(a,s){i=[A,t("xnBM")],o=s,n="function"==typeof o?o.apply(A,i):o,!(void 0!==n&&(e.exports=n))})(this,function(e,A){"use strict";function t(e,A){if(!(e instanceof A))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 o=function(){function e(e,A){for(var t,o=0;o<A.length;o++)t=A[o],t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(A,t,o){return t&&e(A.prototype,t),o&&e(A,o),A}}(),i=function(){function e(){t(this,e)}return o(e,[{key:"appendChild",value:function(){}},{key:"removeChild",value:function(){}},{key:"querySelector",value:function(){}},{key:"addEventListener",value:function(){}},{key:"removeEventListener",value:function(){}}]),e}(),n=new i,a=n,s=n;a.body=s,A.inBrowser&&(e.mdDocument=a=window.document,e.mdBody=s=document.body),e.mdDocument=a,e.mdBody=s,e.dom=n})},"3TRE":function(e,A){"use strict";Object.defineProperty(A,"__esModule",{value:!0});var t=A.info={title:"ActionSheet",preview:"https://didi.github.io/mand-mobile/examples/#/action-sheet"},o=A.body="<p>Support scenario-relevent operations</p>\n<h3 id=\"Import\">Import<a href=\"javascript:jumpAnchor('Import')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><pre><code class=\"language-javascript\"><span class=\"hljs-keyword\">import</span> { ActionSheet } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'mand-mobile'</span>\n\nVue.component(ActionSheet.name, ActionSheet)\n\nthis.$actionsheet.<span class=\"hljs-keyword\">create</span>({ <span class=\"hljs-comment\">/* ... */</span> }) // Totally <span class=\"hljs-keyword\">Import</span></code></pre>\n<h3 id=\"Code Examples\">Code Examples<a href=\"javascript:jumpAnchor('Code Examples')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><!-- DEMO -->\n\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=\"ActionSheet Props\">ActionSheet Props<a href=\"javascript:jumpAnchor('ActionSheet Props')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><p>|Props | Description | Type | Default | Note |\n|----|-----|------|------|------|------|\n|v-model|display actionsheet or not|Boolean|<code>false</code>|-|\n|title|title of actionsheet|String|-|-|\n|options|options of actionsheet|Array<{text, value}>| [] |-|\n|default-index|default selected index|Boolean|0|-|\n|invalid-index|invalid index|Number| -1|-|\n|cancel-text|cancel text|String|-|-|\n|large-radius <sup class=\"version-after\">2.4.0+</sup>|large radius|Boolean|<code>false</code>|-|</p>\n<h4 id=\"ActionSheet Events\">ActionSheet Events<a href=\"javascript:jumpAnchor('ActionSheet Events')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><h5 id=\"@selected(item)\">@selected(item)<a href=\"javascript:jumpAnchor('@selected(item)')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h5\">#</a></h5><p>Select event</p>\n<table>\n<thead>\n<tr>\n<th>Props</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>item</td>\n<td>selected value</td>\n<td>Object: {text, value}</td>\n</tr>\n</tbody></table>\n<h5 id=\"@selected(item)\">@selected(item)<a href=\"javascript:jumpAnchor('@selected(item)')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h5\">#</a></h5><p>Cancel selection</p>\n<h5 id=\"@show()\">@show()<a href=\"javascript:jumpAnchor('@show()')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h5\">#</a></h5><p>Show actionsheet</p>\n<h5 id=\"@hide()\">@hide()<a href=\"javascript:jumpAnchor('@hide()')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h5\">#</a></h5><p>Hide actionsheet</p>\n<h4 id=\"ActionSheet Static Methods\">ActionSheet Static Methods<a href=\"javascript:jumpAnchor('ActionSheet Static Methods')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><h5 id=\"create(props)\">create(props)<a href=\"javascript:jumpAnchor('create(props)')\" class=\"mfe-blog-toc-item mfe-blog-to
|