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

Will this ever support hints? #92

Closed
beatelite opened this issue Sep 29, 2016 · 3 comments
Closed

Will this ever support hints? #92

beatelite opened this issue Sep 29, 2016 · 3 comments

Comments

@beatelite
Copy link

I am looking for a better tooltip option and love introjs hints. Does this or will this support it?

@stevenw00
Copy link
Contributor

The intro.js lib supports hints, you just have to activate the hints manually.

In your html add the following attributes in the element you want the hints.

<h1 data-hint="This is a tooltip!" data-hintPosition="top-middle" data-position="bottom-right-aligned">Hints</h1>

Then in your controller directly call the introJs method, probably wrap it in a $timeout as well.

$timeout(() => {
   introJs().addHints();
});

@pratheekhegde
Copy link

If there could be a service to run this addHints() which takes an array of div ids. we can control the showing and hiding of hints based on ids, similar to tour steps.

@millerscout
Copy link
Collaborator

it's available on version ^3.00

#107

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

No branches or pull requests

4 participants