From 2c2bf0136a92b7ca49e7df952a44d9000a07fa8b Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 13 Aug 2023 17:33:26 +0530 Subject: feat: test case for todo-app with adding new items --- src/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index c90588b..b737865 100644 --- a/src/index.ts +++ b/src/index.ts @@ -97,6 +97,7 @@ const getEvalActions = ( }, getAttribute: async (id, name) => { const $el = id ? document.getElementById(id) : $element + if (name === 'value') return ($el as any).value return $el?.getAttribute(name) ?? undefined }, withEvent: async fn => event && fn(event), -- cgit v1.3.1