(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{1219:function(t,s,a){},1315:function(t,s,a){"use strict";var n=a(1219);a.n(n).a},1465:function(t,s,a){"use strict";a.r(s);var n=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",[[a("demo-box",{attrs:{jsfiddle:{html:'\n \n \n prompt text\n \n Tooltip will show when mouse enter.\n \n',script:null,style:null,us:"\n#### Basic\nThe simplest usage.\n",cn:"\n#### 基本\n最简单的用法。\n",sourceCode:'\n \n \n prompt text\n \n Tooltip will show when mouse enter.\n \n\n'}}},[a("template",{slot:"component"},[a("a-tooltip",[a("template",{slot:"title"},[t._v("\n prompt text\n ")]),t._v("\n Tooltip will show when mouse enter.\n ")],2)],1),t._v(" "),a("template",{slot:"description"},[a("h4",{attrs:{id:"基本"}},[t._v("基本 "),a("a",{staticClass:"anchor",attrs:{href:"#基本"}},[t._v("#")])]),t._v(" "),a("p",[t._v("最简单的用法。")])]),t._v(" "),a("template",{slot:"us-description"},[a("h4",{attrs:{id:"Basic"}},[t._v("Basic "),a("a",{staticClass:"anchor",attrs:{href:"#Basic"}},[t._v("#")])]),t._v(" "),a("p",[t._v("The simplest usage.")])]),t._v(" "),a("template",{slot:"code"},[a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("template")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("a-tooltip")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("template")]),t._v(" "),a("span",{staticClass:"hljs-attr"},[t._v("slot")]),t._v("="),a("span",{staticClass:"hljs-string"},[t._v('"title"')]),t._v(">")]),t._v("\n prompt text\n "),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("template")]),t._v(">")]),t._v("\n Tooltip will show when mouse enter.\n "),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("a-tooltip")]),t._v(">")]),t._v("\n"),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("template")]),t._v(">")]),t._v("\n")])])])],2)]],2)};n._withStripped=!0;var l=a(31),e=Object(l.a)({},n,[],!1,null,null,null);e.options.__file="components/tooltip/demo/basic.md";var v=e.exports,p=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",[[a("demo-box",{attrs:{jsfiddle:{html:'\n
\n
\n Align edge / 边缘对齐\n \n
\n Arrow points to center / 箭头指向中心\n \n
\n',script:null,style:null,us:"\n#### Arrow pointing at the center\nBy specifying `arrowPointAtCenter` prop, the arrow will point to the center of the target element.\n",cn:"\n#### 箭头指向\n设置了 `arrowPointAtCenter` 后,箭头将指向目标元素的中心。\n",sourceCode:'\n \n
\n Align edge / 边缘对齐\n \n
\n Arrow points to center / 箭头指向中心\n \n
\n\n'}}},[a("template",{slot:"component"},[a("div",[a("a-tooltip",{attrs:{placement:"topLeft",title:"Prompt Text"}},[a("a-button",[t._v("Align edge / 边缘对齐")])],1),t._v(" "),a("a-tooltip",{attrs:{placement:"topLeft",title:"Prompt Text",arrowPointAtCenter:""}},[a("a-button",[t._v("Arrow points to center / 箭头指向中心")])],1)],1)]),t._v(" "),a("template",{slot:"description"},[a("h4",{attrs:{id:"箭头指向"}},[t._v("箭头指向 "),a("a",{staticClass:"anchor",attrs:{href:"#箭头指向"}},[t._v("#")])]),t._v(" "),a("p",[t._v("设置了 "),a("code",[t._v("arrowPointAtCenter")]),t._v(" 后,箭头将指向目标元素的中心。")])]),t._v(" "),a("template",{slot:"us-description"},[a("h4",{attrs:{id:"Arrow-pointing-at-the-center"}},[t._v("Arrow pointing at the center "),a("a",{staticClass:"anchor",attrs:{href:"#Arrow-pointing-at-the-center"}},[t._v("#")])]),t._v(" "),a("p",[t._v("By specifying "),a("code",[t._v("arrowPointAtCenter")]),t._v(" prop, the arrow will point to the center of the target element.")])]),t._v(" "),a("template",{slot:"code"},[a("pre",[a("code",{staticClass:"language-html"},[a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("template")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("div")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("a-tooltip")]),t._v(" "),a("span",{staticClass:"hljs-attr"},[t._v("placement")]),t._v("="),a("span",{staticClass:"hljs-string"},[t._v('"topLeft"')]),t._v(" "),a("span",{staticClass:"hljs-attr"},[t._v("title")]),t._v("="),a("span",{staticClass:"hljs-string"},[t._v('"Prompt Text"')]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("a-button")]),t._v(">")]),t._v("Align edge / 边缘对齐"),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("a-button")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("a-tooltip")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("a-tooltip")]),t._v(" "),a("span",{staticClass:"hljs-attr"},[t._v("placement")]),t._v("="),a("span",{staticClass:"hljs-string"},[t._v('"topLeft"')]),t._v(" "),a("span",{staticClass:"hljs-attr"},[t._v("title")]),t._v("="),a("span",{staticClass:"hljs-string"},[t._v('"Prompt Text"')]),t._v(" "),a("span",{staticClass:"hljs-attr"},[t._v("arrowPointAtCenter")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v("<"),a("span",{staticClass:"hljs-name"},[t._v("a-button")]),t._v(">")]),t._v("Arrow points to center / 箭头指向中心"),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("a-button")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("a-tooltip")]),t._v(">")]),t._v("\n "),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("div")]),t._v(">")]),t._v("\n"),a("span",{staticClass:"hljs-tag"},[t._v(""),a("span",{staticClass:"hljs-name"},[t._v("template")]),t._v(">")]),t._v("\n")])])])],2)]],2)};p._withStripped=!0;var _=Object(l.a)({},p,[],!1,null,null,null);_.options.__file="components/tooltip/demo/arrow-point-at-center.md";var o=_.exports,i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",[[a("demo-box",{attrs:{jsfiddle:{html:'\n \n
\n Adjust automatically / 自动调整\n \n
\n
\n Ingore / 不处理\n \n
\n',script:"\n const wrapStyles = {\n overflow: 'hidden',\n position: 'relative',\n padding: '24px',\n border: '1px solid #e9e9e9',\n };\n export default {\n data() {\n return {\n wrapStyles,\n };\n },\n methods: {\n getPopupContainer(trigger) {\n return trigger.parentElement;\n },\n },\n };\n",style:null,us:"\n#### Adjust placement automatically\nAdjust popup placement automatically when popup is invisible\n",cn:"\n#### 自动调整位置\n气泡框不可见时自动调整位置\n",sourceCode:'\n \n
\n Adjust automatically / 自动调整\n \n
\n
\n Ingore / 不处理\n \n
\n\n