diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-20 11:16:52 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-20 11:16:52 +0530 |
| commit | 2b94b07fdc8f1a82f507b99000add9b7dca2c3d8 (patch) | |
| tree | c96e3c0992cc24145c9b42cbaf8ea8f607c6b73c /examples/todo-list/style.css | |
| parent | 3ff7d709998fe33f82e6da50d7b3327b076a1039 (diff) | |
| download | css-everything-2b94b07fdc8f1a82f507b99000add9b7dca2c3d8.tar.gz css-everything-2b94b07fdc8f1a82f507b99000add9b7dca2c3d8.zip | |
refactor: adds evalvalue type instead of string
Diffstat (limited to 'examples/todo-list/style.css')
| -rw-r--r-- | examples/todo-list/style.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/todo-list/style.css b/examples/todo-list/style.css index efe888f..66ec5f0 100644 --- a/examples/todo-list/style.css +++ b/examples/todo-list/style.css @@ -102,7 +102,7 @@ body * { box-sizing: border-box; } if(get-var(--is-editing), 'none', 'block') ) if(get-var(--is-editing), - call(':scope [data-element=edit-task-input]', focus), + call-method(':scope [data-element=edit-task-input]', focus), "") ; @@ -122,6 +122,7 @@ body * { box-sizing: border-box; } [data-element=task-text] { padding: .2rem .8rem; flex: 2; + --cssx-on-click: update(get-var(--task-item-id), --is-editing, "true"); } [data-element=task-text]::after { |
