How to use the v-tooltip.VTooltip.options function in v-tooltip

To help you get started, we’ve selected a few v-tooltip examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github the-control-group / voyager / resources / assets / js / vendor.js View on Github external
import { HandleDirective } from 'vue-slicksort';
Vue.directive('sort-handle', HandleDirective);

import VueScrollTo from 'vue-scrollto';
Vue.use(VueScrollTo, {
    container: 'main',

import MimeMatcher from 'mime-matcher';
Vue.prototype.MimeMatcher = MimeMatcher;

import { VTooltip } from 'v-tooltip';
VTooltip.options.defaultPlacement = 'bottom';
Vue.directive('tooltip', VTooltip);
github aws-samples / aws-ai-tracking-bot / dashboard-app / dashboard-app / src / components / Report.vue View on Github external
import 'vueleton/lib/dropdown.css';
import { ClientTable } from 'vue-tables-2';
import moment from 'moment';
import DynamoDb from 'aws-sdk/clients/dynamodb';
import { VTooltip } from 'v-tooltip';
import * as d3 from 'd3';
import model from '../assets/TrackingBotModel.json';
import StackedBar from './StackedBar';
import Logger from '../logger';

/* Stores RadialProgressChart instances to use on updates */
const charts = {};

/* eslint-disable no-new, no-alert, max-len, no-loop-func */

VTooltip.options.defaultClass = 'my-tooltip';
Vue.component('detail-chart', StackedBar);
Vue.component('dropdown', Dropdown);
Vue.use(ClientTable, {

/* eslint-disable no-var, no-plusplus */

/* Computes text value to use for center of radial chart
   This value will be updated as data for the radial chart is also
   updated. The center of the chart shows a text value that corresponds to the
   current day, or week, and/or monthly percentage. If a daily target is
   specified, then the center text represents the percent complete for each
   day. if a weekly target is specified, the center text is a percent completed
   for the week. if a monthly target is specified, the center text is a percent
   complete for the month.