debian-mirror-gitlab/app/assets/javascripts/vue_shared/directives/tooltip.js
2017-09-10 17:25:29 +05:30

13 lines
172 B
JavaScript

export default {
bind(el) {
$(el).tooltip();
},
componentUpdated(el) {
$(el).tooltip('fixTitle');
},
unbind(el) {
$(el).tooltip('destroy');
},
};