aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-08-25 08:37:43 +0530
committerAkshay Nair <phenax5@gmail.com>2023-08-25 08:37:43 +0530
commitda25e0da579da33dffddd16b9a564f358205c43b (patch)
treebf9c9986a9f03ed5c745d9b32a032bd2c7501a2c /examples
parent6e0f7c0a66117ea458c61bf18c4a721d90523448 (diff)
downloadcss-everything-da25e0da579da33dffddd16b9a564f358205c43b.tar.gz
css-everything-da25e0da579da33dffddd16b9a564f358205c43b.zip
feat: string concatentation + quote
Diffstat (limited to 'examples')
-rw-r--r--examples/todo-list/style.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/todo-list/style.css b/examples/todo-list/style.css
index cda7003..ed9875c 100644
--- a/examples/todo-list/style.css
+++ b/examples/todo-list/style.css
@@ -18,6 +18,10 @@ body * { box-sizing: border-box; }
border-radius: 5px;
overflow: hidden;
+ --some-str: "Hello";
+
+ --cssx-on-mount: js-eval(string("alert('", quotify(get-var(--some-str)), "')"));
+
/* --my-func: */
/* js-eval(get-var(--js)) */
/* delay(1s) */