From af65d13038dcdeaf93c5c718cbc74c20120c6a22 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 20 Aug 2023 12:42:06 +0530 Subject: feat: implements function call and adds support for recursion --- examples/todo-list/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'examples/todo-list/style.css') diff --git a/examples/todo-list/style.css b/examples/todo-list/style.css index 66ec5f0..cda7003 100644 --- a/examples/todo-list/style.css +++ b/examples/todo-list/style.css @@ -18,6 +18,14 @@ body * { box-sizing: border-box; } border-radius: 5px; overflow: hidden; + /* --my-func: */ + /* js-eval(get-var(--js)) */ + /* delay(1s) */ + /* call(--my-func, map(--js: get-var(--js))) */ + /* ; */ + /**/ + /* --cssx-on-mount: call(--my-func, map(--js: "console.log(`yay`)")); */ + --cssx-children: form#task-input-form #task-list; } -- cgit v1.3.1