mand-mobile/docs/static/js/EnUSDocsComponentsFeedbackA...

1 line
194 KiB
JavaScript
Raw Normal View History

2023-02-02 11:12:53 +08:00
webpackJsonp([52],{"/AJx":function(e,t,o){var i,n,a;(function(s,r){n=[t,o("xnBM")],i=r,a="function"==typeof i?i.apply(t,n):i,!(void 0!==a&&(e.exports=a))})(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 i=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),n=function(){function e(){o(this,e)}return i(e,[{key:"appendChild",value:function(){}},{key:"removeChild",value:function(){}},{key:"querySelector",value:function(){}},{key:"addEventListener",value:function(){}},{key:"removeEventListener",value:function(){}}]),e}(),a=new n,s=a,r=a;s.body=r,t.inBrowser&&(e.mdDocument=s=window.document,e.mdBody=r=document.body),e.mdDocument=s,e.mdBody=r,e.dom=a})},"3TRE":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=t.info={title:"ActionSheet",preview:"https://didi.github.io/mand-mobile/examples/#/action-sheet"},i=t.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&lt;{text, value}&gt;| [] |-|\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