<commit_before>Ember-tooltips (and popovers) [![Build Status](https://travis-ci.org/sir-dunxalot/ember-tooltips.svg?branch=master)](https://travis-ci.org/sir-dunxalot/ember-tooltips) [![npm](https://img.shields.io/npm/v/ember-tooltips.svg)](https://www.npmjs.com/package/ember-tooltips) [![Ember Observer Score](http://emberobserver.com/badges/ember-tooltips.svg)](http://emberobserver.com/addons/ember-tooltips)
======

Render tooltips and popovers on components and other HTML elements using HTMLBars.

## Installation

```
ember install ember-tooltips
```

## Documentation

Documentation for usage is below:

- [Demo](http://sir-dunxalot.github.io/ember-tooltips/)
- [3.0.0 Beta](#300-beta)
- [Usage](#usage)
  - [tooltip-on-component](#tooltip-on-component)
  - [tooltip-on-element](#tooltip-on-element)
  - [popover-on-component](#popover-on-element)
  - [popover-on-element](#popover-on-element)
  - [Targets](#targets)
- [Options](#options)
  - [Setting defaults](#setting-defaults)
- [Actions](#actions)
- [Testing](#testing)
  - [Test helpers](#test-helpers)
- [Accessibility](#accessibility)
- [Development](#development)

## 3.0.0 Beta

Version `3.0.0` replaces the unreliable Tether library with a more robust positioning library.

In addition, the code base is simplified to make it easier to extend and customize.

Documentation for the `3.0.0-beta.x` is available [on this branch](https://github.com/sir-dunxalot/ember-tooltips/tree/3.x).

You can install the beta version using:

```sh
npm install --save-dev ember-tooltips@3.0.0-beta.4
```

Please [report any issues you come across](https://github.com/sir-dunxalot/ember-tooltips/issues/new). Thank you in advance!

## Usage

### Tooltip on Component

The easiest way to add a tooltip to any component is with the `{{tooltip-on-component}}` component:

```hbs
{{#my-component}}
  Hover for more info

  {{tooltip-on-component text='Here is more info!'}}
{{/my-component}}
```
<commit_msg>Update beta install instructions to beta.5<commit_after>Ember-tooltips (and popovers) [![Build Status](https://travis-ci.org/sir-dunxalot/ember-tooltips.svg?branch=master)](https://travis-ci.org/sir-dunxalot/ember-tooltips) [![npm](https://img.shields.io/npm/v/ember-tooltips.svg)](https://www.npmjs.com/package/ember-tooltips) [![Ember Observer Score](http://emberobserver.com/badges/ember-tooltips.svg)](http://emberobserver.com/addons/ember-tooltips)
======

Render tooltips and popovers on components and other HTML elements using HTMLBars.

## Installation

```
ember install ember-tooltips
```

## Documentation

Documentation for usage is below:

- [Demo](http://sir-dunxalot.github.io/ember-tooltips/)
- [3.0.0 Beta](#300-beta)
- [Usage](#usage)
  - [tooltip-on-component](#tooltip-on-component)
  - [tooltip-on-element](#tooltip-on-element)
  - [popover-on-component](#popover-on-element)
  - [popover-on-element](#popover-on-element)
  - [Targets](#targets)
- [Options](#options)
  - [Setting defaults](#setting-defaults)
- [Actions](#actions)
- [Testing](#testing)
  - [Test helpers](#test-helpers)
- [Accessibility](#accessibility)
- [Development](#development)

## 3.0.0 Beta

Version `3.0.0` replaces the unreliable Tether library with a more robust positioning library.

In addition, the code base is simplified to make it easier to extend and customize.

Documentation for the `3.0.0-beta.x` is available [on this branch](https://github.com/sir-dunxalot/ember-tooltips/tree/3.x).

You can install the beta version using:

```sh
npm install --save-dev ember-tooltips@3.0.0-beta.5
```

Please [report any issues you come across](https://github.com/sir-dunxalot/ember-tooltips/issues/new). Thank you in advance!

## Usage

### Tooltip on Component

The easiest way to add a tooltip to any component is with the `{{tooltip-on-component}}` component:

```hbs
{{#my-component}}
  Hover for more info

  {{tooltip-on-component text='Here is more info!'}}
{{/my-component}}
```

{'fraction_non_alphanumeric': 0.16865330966269337, 'fraction_numerical': 0.010398173979203652, 'mean_word_length': 4.70767004341534, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3645905', 'n_tokens_mistral': 1446, 'n_tokens_neox': 1319, 'n_words': 289}