diff options
Diffstat (limited to '')
| -rw-r--r-- | src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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), |
