Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Multiple tooltip styles? #14

Open
acomito opened this issue Mar 7, 2016 · 5 comments
Open

Multiple tooltip styles? #14

acomito opened this issue Mar 7, 2016 · 5 comments

Comments

@acomito
Copy link

acomito commented Mar 7, 2016

Is it possible to have multiple styles for tooltips without a way to set a class on the tooltip?

For instance, if I need red tooltips in one part of the app and blue tooltips in another?

@johanbrook
Copy link
Contributor

Good idea! IMO it's easiest to provide a way of setting custom classes (styles) on a specific tooltip:

<span data-tooltip="Hello" data-tooltip-class="warning large">..</span>

What do you think?

@acomito
Copy link
Author

acomito commented Mar 7, 2016

That would be awesome!

Ive seen other packages use that method

(e.g. https://github.com/angular-ui/bootstrap/tree/master/src/tooltip)

On Mar 7, 2016 2:46 PM, "Johan Brook" [email protected] wrote:

Good idea! IMO it's easiest to provide a way of setting custom classes
(styles) on a specific tooltip:

..

What do you think?


Reply to this email directly or view it on GitHub
#14 (comment)
.

@acomito
Copy link
Author

acomito commented Mar 15, 2016

Hi!

Wanted to check in to see if there was any plans to implement this feature in the near future?

@johanbrook
Copy link
Contributor

It could be: PRs are welcomed :)

@acomito
Copy link
Author

acomito commented Mar 16, 2016

I will try

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants