1 line
209 KiB
JavaScript
1 line
209 KiB
JavaScript
|
webpackJsonp([34],{"/AJx":function(e,t,A){var o,a,n;(function(i,s){a=[t,A("xnBM")],o=s,n="function"==typeof o?o.apply(t,a):o,!(void 0!==n&&(e.exports=n))})(this,function(e,t){"use strict";function A(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 o=function(){function e(e,t){for(var A,o=0;o<t.length;o++)A=t[o],A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,A.key,A)}return function(t,A,o){return A&&e(t.prototype,A),o&&e(t,o),t}}(),a=function(){function e(){A(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 a,i=n,s=n;i.body=s,t.inBrowser&&(e.mdDocument=i=window.document,e.mdBody=s=document.body),e.mdDocument=i,e.mdBody=s,e.dom=n})},"/JcF":function(e,t){"use strict";t.a={render:function(){var e=this,t=e.$createElement,A=e._self._c||t;return A("div",{staticClass:"md-example-child md-example-child-tip md-example-child-tip-3"},[A("md-tip",{attrs:{content:"\u70B9\u51FB\u62FC\u8F66\u66F4\u6709\u4F18\u60E0\uFF0C\u62FC\u6210\u8FD8\u53EF\u80FD\u83B7\u5F97\u968F\u673A\u793C\u5305",placement:"right"}},[A("md-button",{attrs:{type:"default",size:"small",inline:""}},[e._v("\u70B9\u51FB\u6211")])],1)],1)},staticRenderFns:[]}},"3sGh":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var A=t.info={title:"Tip",preview:"https://didi.github.io/mand-mobile/examples/#/tip"},o=t.body="<p>Tooltip</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> { Tip } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'mand-mobile'</span>\n\nVue.component(Tip.name, Tip)</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<h3 id=\"API\">API<a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h4 id=\"Tip Props\">Tip Props<a href=\"javascript:jumpAnchor('Tip Props')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><table>\n<thead>\n<tr>\n<th>Props</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>name</td>\n<td>the name of tip</td>\n<td>String/Number</td>\n<td>-</td>\n<td>generally used for special class names</td>\n</tr>\n<tr>\n<td>content</td>\n<td>the content of tip</td>\n<td>String/Number</td>\n<td>-</td>\n<td>-</td>\n</tr>\n<tr>\n<td>placement</td>\n<td>the position of tip</td>\n<td>String</td>\n<td><code>top</code></td>\n<td><code>top</code>, <code>left</code>, <code>bottom</code>, <code>right</code></td>\n</tr>\n<tr>\n<td>icon</td>\n<td>icon on the left of content</td>\n<td>String</td>\n<td>-</td>\n<td>refer to <code>Icon</code> for optional values</td>\n</tr>\n<tr>\n<td>icon-svg</td>\n<td>use svg icon</td>\n<td>Boolean</td>\n<td><code>false</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td>fill</td>\n<td>filled with child elements</td>\n<td>Boolean</td>\n<td><code>false</code></td>\n<td>such as button prompts, equal width(top/bottom) or height(left/right) with buttons</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>-</td>\n<td>Object:{left, top}</td>\n<td>-</td>\n<td>-</td>\n</tr>\n</tbody></table>\n<h4 id=\"Tip Events\">Tip Events<a href=\"javascript:jumpAnchor('Tip Events')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><h5 id=\"@show()\">@show()<a href=\"javascript:jumpAnchor('@show()')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h5\">#</a></h5><p>Invoked after dialog is shown</p>\n<h5 id=\"@hide()\">@hide()<a href=\"javascript:jumpAnchor('@hide()')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h5\">#</a></h5><p>Invoked after dialog is hidd
|