Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <template>
  2. <CallAnswer @click="onClick"
  3. @mouseover="onMouseOver"/>
  4. </template>
  5.  
  6. <script>
  7. import CallAnswer from '!vue!svg-to-vue!path/to/call-answer.svg'
  8.  
  9. export default {
  10. components: {
  11. CallAnswer
  12. },
  13. methods: {
  14. onClick(){
  15. // on click event implementation
  16. },
  17. onMouseOver(){
  18. // on mouseover event implementation
  19. }
  20. }
  21. }
  22. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement