Advertisement
Guest User

Untitled

a guest
May 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <template>
  2. <div ref="ref1" class="${activeRef === ref1 ? 'active' : ''}" click.trigger="setRef(ref1)">one</div>
  3. <div ref="ref2" class="${activeRef === ref2 ? 'active' : ''}" click.trigger="setRef(ref2)">two</div>
  4. <div ref="ref3" class="${activeRef === ref3 ? 'active' : ''}" click.trigger="setRef(ref3)">three</div>
  5. </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement