@ionited/tooltip-vue
A simple and lightweight tooltip library for Vue
2,416
18
| Install | |
|---|---|
npm install @ionited/tooltip-vue |
|
| Latest Version: | 0.1.7 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Jan 24, 2024 |
| Links: | GitHub · npm |
Maintainer: ion-project
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.
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.7 | ^3.3.4 | MIT | |
| 0.1.6 | ^3.3.4 | MIT | |
| 0.1.5 | ^3.3.4 | MIT | |
| 0.1.4 | ^3.3.4 | MIT | |
| 0.1.3 | ^3.2.37 | MIT | |
| 0.1.2 | ^3.2.9 | MIT | |
| 0.1.1 | ^3.1.5 | MIT | |
| 0.1.0 | ^3.1.4 | MIT |