{"id":19723486,"url":"https://github.com/remind101/angular-tooltip","last_synced_at":"2025-04-29T22:30:58.409Z","repository":{"id":13656674,"uuid":"16350220","full_name":"remind101/angular-tooltip","owner":"remind101","description":"Simple and extensible tooltips for angularjs","archived":false,"fork":false,"pushed_at":"2015-07-10T04:09:27.000Z","size":215,"stargazers_count":41,"open_issues_count":4,"forks_count":33,"subscribers_count":88,"default_branch":"master","last_synced_at":"2025-04-20T05:03:17.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/remind101.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":"2014-01-29T16:13:26.000Z","updated_at":"2018-06-11T19:24:36.000Z","dependencies_parsed_at":"2022-08-31T00:01:03.638Z","dependency_job_id":null,"html_url":"https://github.com/remind101/angular-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/remind101%2Fangular-tooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fangular-tooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fangular-tooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fangular-tooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remind101","download_url":"https://codeload.github.com/remind101/angular-tooltip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251592951,"owners_count":21614448,"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-11-11T23:22:21.087Z","updated_at":"2025-04-29T22:30:58.008Z","avatar_url":"https://github.com/remind101.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Angular Tooltip\n\n**NOTE**: This repo is not maintained. You might want to try one of the [many forks](https://github.com/remind101/angular-tooltip/network) instead.\n\nSimple and extensible abstraction for tooltips with AngularJS. Based on\n[tether](http://github.hubspot.com/tether/).\n\n## Installation\n\n1. Install with bower:\n\n   ```bash\n   $ bower install ng-modal --save-dev\n   ```\n\n2. Include angular-tooltip and tether:\n\n   ```html\n   \u003cscript src=\"/bower_components/tether/tether.js\"\u003e\u003c/script\u003e\n   \u003cscript src=\"/bower_components/angular-tooltip/dist/angular-tooltip.js\"\u003e\u003c/script\u003e\n   ```\n\n## Usage\n\n### Simple Tooltips\n\nAngular Tooltip gives you an `ng-tooltip` directive that you can use for simple\ntext only tooltips:\n\n```html\n\u003ca href=\"\" ng-tooltip=\"Click Me!\"\u003eGo\u003c/a\u003e\n```\n\n### Advanced Tooltips\n\nWhile the directive is nice for simple tooltips that are text based, more often\nthan not you want to show dynamic content within the tooltip. Angular Tooltip\ngives you a `$tooltip` service to build tooltips. The object returned by this\nfunction provides you with `open` and `close` methods that you can use to\nshow and hide the tooltip.\n\n```javascript\nmodule.directive('myTooltip', function($tooltip) {\n  return {\n    restrict: 'EA',\n    scope: { show: '=myTooltip' },\n    link: function(scope, elem) {\n      var tooltip = $tooltip({\n        target: elem,\n        scope: scope,\n        templateUrl: 'template/my-tooltip.html'\n      });\n\n      scope.$watch('show', function(value) {\n        if (value) {\n          tooltip.open();\n        } else {\n          tooltip.close();\n        }\n      })\n    }\n  };\n});\n```\n\n### Animations\n\nAngular Tooltip uses ngAnimate under the hood, so you can easily add animation\nsupport to your tooltips with the `ng-enter` and `ng-leave` classes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremind101%2Fangular-tooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremind101%2Fangular-tooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremind101%2Fangular-tooltip/lists"}