[Vuejs]-How to call a function (method) in another component?

0👍

Try this:

<app-calendar @sendtextevent="(e) => {this.text = e;this.$refs.detail.getDetailInformation();}"></app-calendar>
<app-detail  v-if="modalWindowDetail" ref="detail" :event-text="text"></app-detail>

Leave a comment