Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Commit

Permalink
Create addClass prop for Tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Chng-Zhi-Xuan committed Jul 24, 2018
1 parent ff341e4 commit dcc70b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Tooltip.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<span>
<span :class="[addClass]">
<span ref="trigger" v-on:click="false"><slot></slot></span><!--
-->
<transition :name="effect">
Expand Down Expand Up @@ -33,6 +33,10 @@ export default {
placement: {
type: String,
default: 'top'
},
addClass: {
type: String,
default: ''
}
},
computed: {
Expand Down

0 comments on commit dcc70b2

Please sign in to comment.