You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 7, 2023. It is now read-only.
An [ember-cli](https://www.ember-cli.com) addon for using [Tooltipster](https://iamceege.github.io/tooltipster/) in Ember applications.
4
+
An [ember-cli](https://www.ember-cli.com) addon for using [Tooltipster](https://iamceege.github.io/tooltipster/) in Ember applications. The default sideTip, and the [ScrollableTip](https://github.com/louisameline/tooltipster-scrollableTip) plugins come preconfigured.
5
5
6
6
----
7
7
@@ -44,10 +44,10 @@ Block form
44
44
```
45
45
(Note: using `data-tooltip-content` in the component's yield block currently has one limitation: its content cannot be re-rendered. When first created, the component detaches that element from the DOM before passing it to Tooltipster. Sorry, we're working on it!)
46
46
47
-
## Configuration
47
+
## Properties
48
48
`{{tool-tip}}` supports (almost) all of the basic options provided by Tooltipster, listed [here](https://iamceege.github.io/tooltipster/#options).
49
49
50
-
NOTE: We need to deviate from Tooltipster's options in one significant place - the `trigger` option. Since `trigger` is used internally by Ember components, use `tipTrigger` instead.
50
+
NOTE: We need to deviate from Tooltipster in one significant place - the `trigger` option. Since `trigger` is used internally by Ember components, use `tipTrigger` instead.
51
51
52
52
In addition, we have added:
53
53
@@ -59,3 +59,38 @@ In addition, we have added:
59
59
| showTipOnUpdate | Boolean | false | If true, changes to the `content` value will cause the tooltip to be shown.
60
60
| tipTextAttr | String | `"[data-tooltip-content]"` | Any valid jQuery selector that will be used to search the component's block for the tooltip's content.
61
61
62
+
## Styling
63
+
The component provides the core Tooltipster styles and default theme out of the box. If you want to roll your own styles, then you can disable this in your app's `environment.js`:
64
+
```javascript
65
+
constENV= {
66
+
'nsf-ember-tooltip': {
67
+
excludeDefaultStyles:true,
68
+
}
69
+
};
70
+
```
71
+
72
+
If you are using SASS, the component provides and optional partial file and mixin that you may import to change things up.
0 commit comments