Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <CallAnswer @click="onClick"
- @mouseover="onMouseOver"/>
- </template>
- <script>
- import CallAnswer from '!vue!svg-to-vue!path/to/call-answer.svg'
- export default {
- components: {
- CallAnswer
- },
- methods: {
- onClick(){
- // on click event implementation
- },
- onMouseOver(){
- // on mouseover event implementation
- }
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement