zoid icon indicating copy to clipboard operation
zoid copied to clipboard

[Vue] Use v-on (i.e. events) for setting callback functions

Open ddenev opened this issue 6 years ago • 0 comments

Hi,

Would it be possible to extend the Vue driver so that when we want to pass a callback function to the client Zoid, we use the v-on attribute on our parent Zoid component, e.g.:

<my-zoid-component exampleProp="something" v-on:someEvent="onSomeEvent"/>

instead of

<my-zoid-component exampleProp="something" :onSomeEvent="onSomeEvent"/>

ddenev avatar Nov 09 '19 13:11 ddenev