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

ember-balloon-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-balloon-tooltip

The default blueprint for ember-cli addons.

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
169
decreased by-8.15%
Maintainers
1
Weekly downloads
 
Created
Source

CircleCI

Ember Balloon Tooltip

An Ember addon that uses balloon.css to enable css driven tooltips within your application.

Usage

Use the balloon-tooltip component to create a new DOM element with a tooltip.

{{#balloon-tooltip title="Hello, World!!" tagName="button"}}
  Button
{{/balloon-tooltip}}

By default, the tooltip will appear when you hover over the element.

Programatic Control

You can programatically control the tooltip by using the visible attribute.

{{#balloon-tooltip title="Hello, World!!" visible=true tagName="button" as |tooltip|}}
  Click Me!
{{/balloon-tooltip}}

The example above will ensure that the tooltip is always shown.

Positioning

The options are up, down, left, right.

{{#balloon-tooltip title="Hello, World!!" tagName="button" position="down" as |tooltip|}}
  Click Me!
{{/balloon-tooltip}}

Length

You can opt to control the length of the tooltip for varying text sizes. The default is for the tooltip to remain on one line.

The options are small, medium, large, fit.

{{#balloon-tooltip title="Hello, World!!" tagName="button" length="fit" as |tooltip|}}
  Click Me!
{{/balloon-tooltip}}

Installation

  • ember install ember-balloon-tooltip

Running Tests

  • yarn test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Keywords

FAQs

Package last updated on 24 Feb 2018

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