joyride icon indicating copy to clipboard operation
joyride copied to clipboard

postStepCallback needs more info

Open mschipperheyn opened this issue 12 years ago • 1 comments

Hi, I wrote a wrapper around joyride and I'm trying to get an extra level of sophistication in regarding what is saved in joyride to identify any items on the page that can be classified as "new" tips. In order to do this I need the tip-id associated with on postStepCallback with the last seen tip. However, what I get is the index + the tip popup itself. That tip popup node doesn't contain the id reference with which to reference the original list item that was the source of the tip.

I can store the list of items and refer back to it through the index, but it seems a little more elegant to me if I have the data-id available that was the source of the tip. Might be nice to store it as a data item.

mschipperheyn avatar Mar 12 '13 20:03 mschipperheyn

Sorry, there are easy ways around this.

mschipperheyn avatar Mar 12 '13 23:03 mschipperheyn