You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, the content option of each step must be the ID of a DOM element which contains the content to display. This is misleading - this property should be the actual text, which would allow a tour to be fully defined via JSON (except for the available callbacks).
In order to maintain support for using an element's content as the step content, a optional content_selector (or similar) option should be added to each step. This would also require a decision on precedence of these two options, should the developer accidentally (or intentionally) specify both options. A warning should probably be output to the console in this case as well.
The text was updated successfully, but these errors were encountered:
At present, the
content
option of each step must be the ID of a DOM element which contains the content to display. This is misleading - this property should be the actual text, which would allow a tour to be fully defined via JSON (except for the available callbacks).In order to maintain support for using an element's content as the step content, a optional
content_selector
(or similar) option should be added to each step. This would also require a decision on precedence of these two options, should the developer accidentally (or intentionally) specify both options. A warning should probably be output to the console in this case as well.The text was updated successfully, but these errors were encountered: