event and method have the same name
zRa1ny opened this issue · 1 comments
zRa1ny commented
When my component needs to send an event Submit and needs to provide a method submit, like the Form component, what should I do? thank you
romash1408 commented
Use other name for emitting method and set event name in decorator:
@Emit('submit')
emitSubmit() {}