We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get an error when trying to create an ActionHandler.
Uncaught TypeError: Tourguide.ActionHandler is not a constructor at :1:1
const steps = [ { content: "some text", title: "some title", selector: ".account-subitem.my-library", step: 6, actions: [{ "label": "Invite members", "action": "click", "target": ".account-subitem.team" }, { "label": "Share", "action": "link", "href": "/my-account/listmanager/library/" } ] } ] tg = new Tourguide({ steps: steps, actionHandlers: [ new Tourguide.ActionHandler( "link", function(event, action, context) { event.preventDefault(); window.location = action.href; } ), new Tourguide.ActionHandler( "click", function(event, action, context) { event.preventDefault(); jQuery(action.target).trigger('click'); } ) ] })
I'm obviously doing something wrong.. Anyone care to point me in the right direction?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I get an error when trying to create an ActionHandler.
Uncaught TypeError: Tourguide.ActionHandler is not a constructor
at :1:1
I'm obviously doing something wrong.. Anyone care to point me in the right direction?
The text was updated successfully, but these errors were encountered: