{"id":15645210,"url":"https://github.com/egoist/v-tippy","last_synced_at":"2025-04-14T07:07:44.231Z","repository":{"id":45275127,"uuid":"97924021","full_name":"egoist/v-tippy","owner":"egoist","description":"Vue.js binding for Tippy.js","archived":false,"fork":false,"pushed_at":"2023-01-12T09:52:42.000Z","size":239,"stargazers_count":55,"open_issues_count":14,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T07:07:39.099Z","etag":null,"topics":["directive","tooltip","vue"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/egoist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-21T08:18:59.000Z","updated_at":"2024-01-17T06:56:04.000Z","dependencies_parsed_at":"2023-02-09T11:15:46.240Z","dependency_job_id":null,"html_url":"https://github.com/egoist/v-tippy","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fv-tippy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fv-tippy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fv-tippy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fv-tippy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egoist","download_url":"https://codeload.github.com/egoist/v-tippy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837280,"owners_count":21169374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["directive","tooltip","vue"],"created_at":"2024-10-03T12:05:09.299Z","updated_at":"2025-04-14T07:07:44.201Z","avatar_url":"https://github.com/egoist.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# v-tippy\n\n[![NPM version](https://img.shields.io/npm/v/v-tippy.svg?style=flat)](https://npmjs.com/package/v-tippy) [![NPM downloads](https://img.shields.io/npm/dm/v-tippy.svg?style=flat)](https://npmjs.com/package/v-tippy) [![CircleCI](https://circleci.com/gh/egoist/v-tippy/tree/master.svg?style=shield)](https://circleci.com/gh/egoist/v-tippy/tree/master)  [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000\u0026style=flat)](https://github.com/egoist/donate)\n\n\u003e Vue.js binding for [Tippy.js](https://atomiks.github.io/tippyjs/) which is a powerful and elegant tooltip library.\n\n## Install\n\n```bash\nyarn add v-tippy\n```\n\n## Usage\n\nFirst, use the plugin to register `v-tippy` directive:\n\n```js\nimport Tippy from 'v-tippy'\n// Don't forget to include CSS somewhere!\n// Basically it's a copy of `tippy.js/dist/tippy.css`\nimport 'v-tippy/dist/tippy.css'\n\nVue.use(Tippy)\n```\n\nThen, use it:\n\n```vue\n\u003cbutton title=\"will appear on the top\" v-tippy\u003ehover me\u003c/button\u003e\n```\n\n### Supply Tippy.js options\n\nYou can pass **all** [Tippy.js](https://atomiks.github.io/tippyjs/) [options](https://atomiks.github.io/tippyjs/#all-settings) as `v-tippy` directive's arguments:\n\n```vue\n\u003cbutton \n  title=\"I'm on the left!\" \n  v-tippy=\"{position: 'left'}\"\u003e\n  hover me\n\u003c/button\u003e\n```\n\n### Default settings\n\nYou can tweak default settings globally while installing the plugin:\n\n```js\nVue.use(Tippy, {\n  position: 'left',\n  onShown: () =\u003e console.log('lol'),\n  // ... other options you wanna change globally\n})\n```\n\n## Gotchas\n\n\u003e Can I supply Tippy.js options via `data-*` attributes?\n\nSure you can, but it's will only be used for once, when the binding value changes (eg: `:data-position=\"position\"`), the poper generated by Tippy.js will not be updated. Supplying options via directive arguments is better.\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n\n## Author\n\n**v-tippy** © [egoist](https://github.com/egoist), Released under the [MIT](./LICENSE) License.\u003cbr\u003e\nAuthored and maintained by egoist with help from contributors ([list](https://github.com/egoist/v-tippy/contributors)).\n\n\u003e [egoist.moe](https://egoist.moe) · GitHub [@egoist](https://github.com/egoist) · Twitter [@_egoistlily](https://twitter.com/_egoistlily)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fv-tippy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegoist%2Fv-tippy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fv-tippy/lists"}