mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Custom Tooltip (#43)
* implemented basic tooltip * add animation * finish up tooltip, added instant option * implemented basic tooltip * add animation * finish up tooltip, added instant option * Uninstall v-tooltip * Match folder structure of focus to tooltip * Register new directives * remove duplicate folder * Export functions, cleanup animate * Export update tooltip function * Increase test covergae * Added start and end options * Structure positioning tests * tooltip right end will now show on the right end * Add tests for modifier states * Update test coverage * Fix stylelint issues * made top as default position * added inverted option * fix lint * Move tooltip style vars to theme * Remove line clamp * Update tests Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import Vue from 'vue';
|
||||
import VueCompositionAPI from '@vue/composition-api';
|
||||
import VueRouter from 'vue-router';
|
||||
import { VTooltip } from 'v-tooltip';
|
||||
|
||||
Vue.use(VueCompositionAPI);
|
||||
Vue.use(VueRouter);
|
||||
Vue.directive('tooltip', VTooltip);
|
||||
|
||||
Reference in New Issue
Block a user