Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angularjs-tooltips

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angularjs-tooltips

Tooltips for any element using any html in AngularJS with no requirements.

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
102
increased by466.67%
Maintainers
1
Weekly downloads
 
Created
Source

angular-tooltips

Tooltips for any element using any html in AngularJS with no requirements.

Why another tooltip library?

There are other libraries out there like https://github.com/720kb/angular-tooltips or https://angular-ui.github.io/bootstrap/#/tooltip but they either have requirements on other libraries or are overly convoluted in their approach (which can break other things).

This is a very small (8 kB) library that keeps things simple. It also cleans up after itself and doesn't leave rouge elements all over the window.

Installation

Install through bower

bower install tooltips-angular

Include the library files

<link rel="stylesheet" href="bower_components/dist/angular-tooltips.css" />
<script src="bower_components/dist/angular-tooltips.js"></script>

Add the angular model tooltips

angular.module('app', ['tooltips'])

Usage

Just add a normal title attribute and it will be overridden.

<i class="fa fa-star" title="This is a star!"></i>

You can also specify the direction of the tooltip using title-direction with the options: top, top-right, right-top, right, right-bottom, bottom-right, bottom, bottom-left, left-bottom, left, left-top, top-left

<i class="fa fa-star" title="This is a star!" title-direction="right"></i>

Demo

http://intellipharm.github.io/angular-tooltips/

Requrements

None!!

FAQs

Package last updated on 14 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc