diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-25 10:41:54 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-25 10:41:54 +0530 |
| commit | 0e4b002615b360284b43b5ceee6feb3ed8c1b72f (patch) | |
| tree | 8480271b04f15b0fa180dd21b482a6157f90772e /examples/form/signup.css | |
| parent | 0bf85a7a812bef9eec097710f92c490c0ed9719a (diff) | |
| download | css-everything-0e4b002615b360284b43b5ceee6feb3ed8c1b72f.tar.gz css-everything-0e4b002615b360284b43b5ceee6feb3ed8c1b72f.zip | |
feat: adds do expressions
Diffstat (limited to 'examples/form/signup.css')
| -rw-r--r-- | examples/form/signup.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/form/signup.css b/examples/form/signup.css index 3811c42..2335334 100644 --- a/examples/form/signup.css +++ b/examples/form/signup.css @@ -30,11 +30,13 @@ prevent-default() add-class(form, 'submitting') try( - request('https://jksldjflksdjlfsd.com/wow'), + do( + request('/examples'), + add-class(form, 'submitted') + ), js-eval(string('alert("', get-var(--error), '")')) ) remove-class(form, 'submitting') - add-class(form, 'submitted') ; --cssx-children: input#input-email input#input-password #actions #message; |
