{"id":13780169,"url":"https://github.com/zoltantothcom/vanilla-js-tooltip","last_synced_at":"2025-05-11T13:31:35.026Z","repository":{"id":145786268,"uuid":"47852807","full_name":"zoltantothcom/vanilla-js-tooltip","owner":"zoltantothcom","description":"Vanilla Javascript tooltip. Accepts plain text and fancy HTML.","archived":false,"fork":false,"pushed_at":"2017-05-19T14:30:14.000Z","size":33,"stargazers_count":28,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-03T18:14:49.218Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zoltantothcom.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-12-11T21:50:37.000Z","updated_at":"2024-06-24T21:17:45.000Z","dependencies_parsed_at":"2023-07-16T04:05:24.308Z","dependency_job_id":null,"html_url":"https://github.com/zoltantothcom/vanilla-js-tooltip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltantothcom%2Fvanilla-js-tooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltantothcom%2Fvanilla-js-tooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltantothcom%2Fvanilla-js-tooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoltantothcom%2Fvanilla-js-tooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoltantothcom","download_url":"https://codeload.github.com/zoltantothcom/vanilla-js-tooltip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225056773,"owners_count":17414206,"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":[],"created_at":"2024-08-03T18:01:13.011Z","updated_at":"2024-11-17T15:30:57.962Z","avatar_url":"https://github.com/zoltantothcom.png","language":"HTML","readme":"Vanilla Javascript tooltip.\n-------\n\nVanilla Javascript tooltip. Accepts plain text and fancy HTML.\n\n#### Demo\n\n[http://zoltantothcom.github.io/vanilla-js-tooltip](http://zoltantothcom.github.io/vanilla-js-tooltip)\n\n#### Settings\n\nOption | Type | Default | Description\n------ | ---- | ------- | -----------\ntheme | string | dark | Selects one of the pre-defined tooltip styles - light or dark.\ndist | number  | 10 | Specifies the distance in pixels from trigger to tooltip.\ndelay | number | 0 | Specifies how long the tooltip remains visible after the mouse leaves the trigger.\n\n#### Example\n\nHTML:\n\n```html\nLorem \u003cspan data-tooltip=\"\u003cimg src='//lorempixel.com/150/100/' /\u003e\" data-position=\"right top\"\u003eipsum\u003c/span\u003e dolor sit amet.\n```\nJavascript:\n\n```javascript\nvar tooltip = new Tooltip({\n    theme: \"dark\",\n    delay: 750\n});\n```\n\n#### Browser support and dependencies\n\nBrowser | Support | Dependencies\n------ | -------- | -----------\nChrome | yes | -\nFirefox | yes | -\nSafari | yes | -\nOpera | yes | -\nIE | yes* | -\n\n\\* _IE9 and up_\n\n#### License\n\nFree. [Unlicense](http://unlicense.org).\n","funding_links":[],"categories":["Components"],"sub_categories":["Tooltips"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoltantothcom%2Fvanilla-js-tooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoltantothcom%2Fvanilla-js-tooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoltantothcom%2Fvanilla-js-tooltip/lists"}