add popper-class for DatePicker, Select and Tooltip (#1806)

This commit is contained in:
杨奕
2016-12-20 16:38:47 +08:00
committed by baiyaaaaa
parent b158e124da
commit f14628254a
21 changed files with 54 additions and 9 deletions

View File

@@ -10,7 +10,7 @@
<transition :name="transition" @after-leave="doDestroy">
<div
class="el-tooltip__popper"
:class="['is-' + effect]"
:class="['is-' + effect, popperClass]"
ref="popper"
v-show="!disabled && showPopper">
<slot name="content"><div v-text="content"></div></slot>
@@ -38,6 +38,7 @@ export default {
type: String,
default: 'dark'
},
popperClass: String,
content: String,
visibleArrow: {
default: true