From 7c2452a4b2b80267be64fd2655c79c4a9d94f10c Mon Sep 17 00:00:00 2001 From: George Treviranus <3946669+geotrev@users.noreply.github.com> Date: Wed, 26 May 2021 09:58:47 -0700 Subject: [PATCH] fix: typos --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ac9553..b081ec1 100644 --- a/README.md +++ b/README.md @@ -614,7 +614,7 @@ express that by supplying an array at the named event property. The first element in the array should be a function that will be invoked with the value in the second element once the event occurs. -```mjse +```mjs function clickHandler(number) { console.log("button " + number + " was clicked!"); } @@ -866,6 +866,8 @@ For example `h('div', {props: {className: 'container'}}, [...])` will produce a }); ``` +as its `.data` object. + ### children : Array The `.children` property of a virtual node is the third (optional)