diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-13 12:05:41 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-13 12:05:41 +0530 |
| commit | 1e8135bf0e24e39f4dc3f8b0a13241ddf0cf475c (patch) | |
| tree | ffc8cfa72e60b29921916607b352ba5139b34eee /src/eval.ts | |
| parent | a61f5ec92a9382b0c25fae9a344da0d7eb21b702 (diff) | |
| download | css-everything-1e8135bf0e24e39f4dc3f8b0a13241ddf0cf475c.tar.gz css-everything-1e8135bf0e24e39f4dc3f8b0a13241ddf0cf475c.zip | |
feat: selector parser + pair parser implemented
Diffstat (limited to '')
| -rw-r--r-- | src/eval.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eval.ts b/src/eval.ts index 9f053c2..3a4e4f9 100644 --- a/src/eval.ts +++ b/src/eval.ts @@ -113,6 +113,7 @@ const getFunctions = (name: string, args: Expr[], actions: EvalActions) => return actions.getAttribute(id as string | undefined, name) } }, + 'prevent-default': async () => actions.withEvent(e => e.preventDefault()), request: async () => { |
