Closed guilhermejcgois closed 6 years ago
Thanks for using it, my friend! I don't really remember the reason >_< but that was something about avoid bugs for missing steps, and double checking everything...
So the problem is when using ngFor [selector] is missing on attrs Here is workaround for you.
<tour-step *ngFor="let item of items" [attr.selector]="item.selector" [selector]="item.selector" ....>
...
</tour-step>
[selector]
-> is for navigating on steps
[attr.selector]
-> is for initialize
Let me know if it working for you, please!
Well, closing this one.
@guilhermejcgois You can suggest changes if you find better way of service initialize.
Hey, sorry for the delay... Your workaround works! I was thinking about the implementation, seems to me a little confuse get order
and selector
from DOM instead using the anchors
property, can't be dangerous if both desynchronizes?
Why do u get {selector, order} from DOM node here instead from anchors? We can't use a ngfor like that: