diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-20 12:42:06 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-20 12:42:06 +0530 |
| commit | af65d13038dcdeaf93c5c718cbc74c20120c6a22 (patch) | |
| tree | e1d36b54a9c8db4660d61dde03dbcf8d50cde76e /examples | |
| parent | f61677bbc3ae32cc460014cffe4d9ae9264291c5 (diff) | |
| download | css-everything-af65d13038dcdeaf93c5c718cbc74c20120c6a22.tar.gz css-everything-af65d13038dcdeaf93c5c718cbc74c20120c6a22.zip | |
feat: implements function call and adds support for recursion
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/todo-list/style.css | 8 |
1 files changed, 8 insertions, 0 deletions
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; } |
