Open wang2lang opened 7 years ago
how to get @click expression in component, exp: <component @click="cb('name')"></component>
<component @click="cb('name')"></component>
how to get cb('name') inner component ?
cb('name')
Can you provide a more detailed example?
how to get @click expression in component, exp:
<component @click="cb('name')"></component>
how to get
cb('name')
inner component ?