Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ionited/tooltip-vue
A simple and lightweight tooltip library for Vue
https://github.com/ionited/tooltip-vue
ionic ionicvue tooltip vue
Last synced: about 2 months ago
JSON representation
A simple and lightweight tooltip library for Vue
- Host: GitHub
- URL: https://github.com/ionited/tooltip-vue
- Owner: ionited
- License: mit
- Created: 2021-07-08T21:46:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T16:02:04.000Z (12 months ago)
- Last Synced: 2024-10-31T13:39:48.400Z (2 months ago)
- Topics: ionic, ionicvue, tooltip, vue
- Language: JavaScript
- Homepage:
- Size: 124 KB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tooltip-vue
> A simple and lightweight tooltip library for Vue
Vue wrapper for [@ionited/tooltip](https://github.com/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](https://unpkg.com/@ionited/tooltip-vue@latest/dist/indext.js)
---
## Usage
To basic usage you can simply call:
```html
```
Local import:
```ts
import { tooltip } from '@ionited/tooltip-vue';export default {
...
directives: { tooltip },
...
}
```or global import:
```ts
import { tooltip } from '@ionited/tooltip-vue';const app = createApp(App)
.directive('tooltip', tooltip);
```See more [@ionited/tooltip](https://github.com/ionited/tooltip)
## License
Copyright (c) 2021 Ion. Licensed under [Mit License](LICENSE).
[https://ionited.io](https://ionited.io)