{"id":13674103,"url":"https://github.com/720kb/angular-tooltips","last_synced_at":"2025-04-09T08:03:28.760Z","repository":{"id":20716614,"uuid":"24000641","full_name":"720kb/angular-tooltips","owner":"720kb","description":"Angularjs tooltips module,  add tooltips to your elements - https://720kb.github.io/angular-tooltips","archived":false,"fork":false,"pushed_at":"2018-12-04T11:24:42.000Z","size":1389,"stargazers_count":351,"open_issues_count":33,"forks_count":158,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-02T06:34:31.152Z","etag":null,"topics":["angular","angular-directives","angularjs","directive","tooltips"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/720kb.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-13T17:23:07.000Z","updated_at":"2025-01-23T23:57:55.000Z","dependencies_parsed_at":"2022-09-10T20:26:45.416Z","dependency_job_id":null,"html_url":"https://github.com/720kb/angular-tooltips","commit_stats":null,"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-tooltips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-tooltips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-tooltips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-tooltips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/720kb","download_url":"https://codeload.github.com/720kb/angular-tooltips/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999859,"owners_count":21031046,"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":["angular","angular-directives","angularjs","directive","tooltips"],"created_at":"2024-08-02T11:00:40.852Z","updated_at":"2025-04-09T08:03:28.741Z","avatar_url":"https://github.com/720kb.png","language":"HTML","readme":"Angular Tooltips\n==================\n\n\n[![Join the chat at https://gitter.im/720kb/angular-tooltips](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/720kb/angular-tooltips?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\nAngular Tooltips is an AngularJS directive that generates a tooltip on your element.\n\n\nThe angular tooltips is developed by [720kb](http://720kb.net).\n\n## Requirements\n\n\nAngularJS v1.3+\n\n## Screen\n![Angular tooltips](http://i.imgur.com/GjUwCat.png)\n\n### Browser support\n\nChrome | Firefox | IE | Opera | Safari\n--- | --- | --- | --- | --- |\n ✔ | ✔ | IE9 + | ✔ | ✔ |\n\n\n## Load\n\nTo use the directive, include the Angular Tooltips javascript and css files in your web page:\n\n```html\n\u003c!DOCTYPE HTML\u003e\n\u003chtml\u003e\n\u003chead\u003e\n  \u003clink href=\"dist/angular-tooltips.min.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n\u003c/head\u003e\n\u003cbody ng-app=\"app\"\u003e\n  //.....\n  \u003cscript src=\"dist/angular-tooltips.min.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Installation\n\n#### Bower\n\n```\n$ bower install angular-tooltips --save\n```\n\n#### npm\n\n```\n$ npm install angular-tooltips --save\n```\n\n_then load the js files in your html_\n\n#### Add module dependency\n\nAdd the 720kb.tooltips module dependency\n\n```js\nangular.module('app', [\n  '720kb.tooltips'\n ]);\n```\n\n\nCall the directive wherever you want in your html page\n\n```html\n\n\u003ca href=\"#\" tooltips tooltip-template=\"tooltip\"\u003eTooltip me\u003c/a\u003e\n\n```\n\n## Doc\n\nOption | Type | Default | Description\n------------- | ------------- | ------------- | -------------\ntooltip-side=\"\" | String('left','right','top','bottom','top left','top right','bottom left','bottom right') | 'top' | Set your tooltip to show on `left` or `right` or `top` or `bottom` or `top left` or `top right` or `bottom left` or `bottom right` position\ntooltip-template=\"\" | String() | '' | Set your tooltip template (HTML or just Text)\n |  |  | **to know**: don't use it together with `tooltip-template-url` attribute, use only one of them\ntooltip-template-url=\"\" | String() | '' | Set your external tooltip template PATH\n |  |  | **to know**: don't use it together with `tooltip-template` attribute, use only one of them\ntooltip-template-url-cache=\"\" | String(Boolean) | false | This attribute stores and retrieves the template from the cache\ntooltip-controller=\"\" | String() | '' | Set a controller to your external tooltip template\ntooltip-smart=\"\" | String(Boolean) | false | Set the tooltip to automatically search the best position on the screen\ntooltip-show-trigger=\"\" | String('event1 event2') | 'mouseover' | Show the tooltip on specific event/events\ntooltip-hide-trigger=\"\" | String('event1 event2') | 'mouseleave' | Hide the tooltip on specific event/events\ntooltip-close-button=\"\" | String(Boolean) | false | Enable the tooltip close button\ntooltip-class=\"\" | String() | '' | Set custom tooltip CSS class/classes\ntooltip-size=\"\" | String('large', 'small') | 'medium' | Set your tooltip dimensions\ntooltip-speed=\"\" | String('fast', 'slow', 'medium') | 'medium' | Set your tooltip show \u0026 hide transition speed\ntooltip-hidden=\"\" | String(Boolean) | false | Hide (at all) the tooltip\ntooltip-append-to-body=\"\" | String(Boolean) | false | This attribute clones the tooltip and append this directly on body. This enables the tooltip position also, for instance, if you have an scrolling area. **This option does heavy javascript calculation.**\ntooltip-show=\"\" | String(Boolean) | false | Show/Hide the tooltip \"manually\"\n\n\n## Globals\nSometimes you may need to set all of your tooltips options in one place, you can achieve this using `tooltipsConfProvider` like this:\n\n```javascript\n.config(['tooltipsConfProvider', function configConf(tooltipsConfProvider) {\n  tooltipsConfProvider.configure({\n    'smart': true,\n    'size': 'large',\n    'speed': 'slow',\n    'tooltipTemplateUrlCache': true\n    //etc...\n  });\n}])\n```\n\n## Example\n\n### [Live demo](https://720kb.github.io/angular-tooltips)\n\n## Theming\nYou can create your own theme by editing the default SASS file `lib/angular-tooltips.scss` or just editing the default CSS file `dist/angular-tooltips.css`.\n\n## Contributing\n\nWe will be much grateful if you help us making this project to grow up.\nFeel free to contribute by forking, opening issues, pull requests etc.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Filippo Oretti, Dario Andrei\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":["UI Components"],"sub_categories":["Tooltip"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F720kb%2Fangular-tooltips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F720kb%2Fangular-tooltips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F720kb%2Fangular-tooltips/lists"}