0

How do I make mousetrap launch intro.js guided tour?

SHIFT + ? will ... <a href="javascript:void(0);" onclick="startIntro();">launch tour</a>

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Uncle Iroh
  • 137
  • 1
  • 12

1 Answers1

1

This is the code I used to achieve results:

<script type="text/javascript">
Mousetrap.bind(["?"], function(e) {
    startIntro();
});
</script>
Uncle Iroh
  • 137
  • 1
  • 12