Answers for "Calling a Method from Outside of the Component"

0

Calling a Method from Outside of the Component

<!-- Parent.vue -->
<template>
  <ChildComponent ref="child" />
</template>

// Somewhere in Parent.vue
this.$refs.child.method();
Posted by: Guest on July-28-2021

Code answers related to "Calling a Method from Outside of the Component"

Code answers related to "Javascript"

Browse Popular Code Answers by Language