From 3ff7d709998fe33f82e6da50d7b3327b076a1039 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 18 Aug 2023 13:27:00 +0530 Subject: Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') 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!"); } ``` -- cgit v1.3.1