An open API service indexing awesome lists of open source software.

https://github.com/mattkrick/meteortooltips

Meteor tooltips that turn any template into a tooltip
https://github.com/mattkrick/meteortooltips

Last synced: 3 months ago
JSON representation

Meteor tooltips that turn any template into a tooltip

Awesome Lists containing this project

README

        

#*DEPRECATED*

#Meteor tooltips

Tooltips can be more than just a tiny box with plain text. This lets you turn any template into a tooltip & use any element as a trigger
all with a nice looking material design animation.

##API
There are 2 parts: a `trigger` and a `tooltip`. The trigger is the thing you want the user to mouseover or click.
The trigger can be anything. A single line of text or icon or a big ol div. Here's how it looks using a line of text as a trigger:

{{#tooltipTrigger name="myToolTip" pos="right"}}Hover over me{{/tooltipTrigger}}

`name` is the name of the template that you want to appear as the tooltip. It can be as simple as a line of text or it could be a whole web page (don't do that).

`pos` is the position: left (default), right, above, below. If it's on the left, you don't have to include the pos argument.

I like to have bullet points, each with a tip:



  • *Required

  • Thanks for hovering over me

  • You can move your mouse into the tooltip & it won't go away.

  • That means you can put links in your tooltips, if you want




That's it. Have a gif of it in the wild.
![Tooltip](http://i.imgur.com/Afc98Js.gif)