Skip to content

Commit

Permalink
format index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Oct 29, 2024
1 parent 8a4459a commit d41c492
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/packages/event-to-object/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,10 @@ const elementConverters: { [key: string]: (element: any) => any } = {
FORM: (element: HTMLFormElement) => ({
elements: Array.from(element.elements).map(convertElement),
}),
INPUT: (element: HTMLInputElement) => ({ value: element.value, checked: element.checked }),
INPUT: (element: HTMLInputElement) => ({
value: element.value,
checked: element.checked,
}),
METER: (element: HTMLMeterElement) => ({ value: element.value }),
OPTION: (element: HTMLOptionElement) => ({ value: element.value }),
OUTPUT: (element: HTMLOutputElement) => ({ value: element.value }),
Expand Down

0 comments on commit d41c492

Please sign in to comment.