[Vuejs]-Getting custom component prop value in Vue app

0👍

https://v2.vuejs.org/v2/guide/events.html

You can access props directly by name:

@change="changeLEC(crisis)"

or this.crisis inside changeLEC, which should be provided to your component as part of the methods: property of your component object.

Leave a comment