ui-tour icon indicating copy to clipboard operation
ui-tour copied to clipboard

New Syntax + Drop jquery

Open ProLoser opened this issue 9 years ago • 0 comments

Instead, should use something like <a ui-tour="intro">...</a> which would then be used in conjunction with

<ui-tour-steps>
  <ui-tour-step name="intro">
    <!-- popup html goes here -->
  </ui-tour-step>
  <ui-tour-step name="features">...</ui-tour-step>
  <ui-tour-step name="navigation">...</ui-tour-step>
<ui-tour-steps>

This way we'd simply cache all the elements with ui-tour on them and then look them up by name (instead of using jQuery DOM selectors and target="h1:eq(2)" or other convoluted CSS selectors. In response to #7

ProLoser avatar Jan 26 '16 23:01 ProLoser