diff --git a/README.md b/README.md index 574e953..3873b5e 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,8 @@ render (h) { return h('div', { // Component props props: { - msg: 'hi' + msg: 'hi', + onCustomEvent: this.customEventHandler }, // normal HTML attributes attrs: { @@ -143,8 +144,9 @@ The equivalent of the above in Vue 2.0 JSX is: render (h) { return (