How can we do that? About Route Component

Dear all :

how can i use the method from 『mthods:{ opentAlert: function(){…} }』 at

1 Like

hi, say like an event? or inside an event?
Sry too little info. please explain with more detail what you need.

1 Like

To call component methods just call this.openAlert()

1 Like

sorry about the silly question, i gotta learn hard for javascript,

i will try the other component like pricker date, in pricker date 's event ex ‘on:’, cant used outside methods.