Skip to content

ionited/tooltip-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tooltip-vue

A simple and lightweight tooltip library for Vue

Vue wrapper for @ionited/tooltip. Compatible with Vue 3 and Ionic Vue

Quick start

Choose your favorite option below:

Install with NPM

npm i @ionited/tooltip-vue

Get from UNPKG

https://unpkg.com/@ionited/tooltip-vue@latest/dist/index.js


Usage

To basic usage you can simply call:

<template>
  <button v-tooltip title="Hello World!"></button>
</template>

Local import:

import { tooltip } from '@ionited/tooltip-vue';

export default {
  ...
  directives: { tooltip },
  ...
}

or global import:

import { tooltip } from '@ionited/tooltip-vue';

const app = createApp(App)
.directive('tooltip', tooltip);

See more @ionited/tooltip

License

Copyright (c) 2021 Ion. Licensed under Mit License.

https://ionited.io

About

A simple and lightweight tooltip library for Vue

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published