aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5a92090..a27d56b 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,9 @@ You can start by adding the script tag for the renderer inside the body
#my-button {
--cssx-text: "Click me";
/* On click, waits for 1 second and then updates the --text property #main-el */
- --cssx-on-click: update(main-el, --text, "Loading...") delay(1s)
+ --cssx-on-click:
+ update(main-el, --text, "Loading...")
+ delay(1s)
update(main-el, --text, "Hello world!");
}
```