mendhak / angular-intro.js

AngularJS directives for intro.js
http://code.mendhak.com/angular-intro.js/
GNU Affero General Public License v3.0
503 stars 175 forks source link

How to make it work with a custom element directive #85

Open dhruv-moengage opened 8 years ago

dhruv-moengage commented 8 years ago

I tried setting <custom-directive id="step2"></custom-directive> but it doesn't highlight my directive.

dhruv-moengage commented 8 years ago

I added a div around it and added id=step to the div. It works fine now.

dhruv-moengage commented 8 years ago

But what if I want to highlight an element inside the custom directive ?

millerscout commented 7 years ago

may you provide a plunker?

it's either: 1) the DOM wasn't available. 2) your directive it's being removed.

110 now it's possible to access the service that handles the introJs, you'll be able to select some Element inside the custom directive.