How to use the v-tooltip.enabled 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 connorshea / vglist / app / javascript / packs / application.ts View on Github external
// @ts-ignore
require.context('../icons', true);

if (process.env.NODE_ENV === 'production') {
  Sentry.init({
    dsn: process.env.SENTRY_DSN_JS,
    integrations: [
      new VueIntegration({ Vue, attachProps: true })
    ],
    environment: process.env.NODE_ENV
  });
}

Vue.use(TurbolinksAdapter);
Vue.use(VTooltip);
VTooltip.enabled = window.innerWidth > 768;

Rails.start();
Turbolinks.start();
ActiveStorage.start();