Skip to content

Commit 2060e6b

Browse files
authored
onInput applies to all elements with contenteditable enabled (#20)
1 parent a97b4cb commit 2060e6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DOM/HTML/Indexed.purs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ type GlobalAttributes r =
4646

4747
type GlobalEvents r =
4848
( onContextMenu :: Event
49+
, onInput :: Event
4950
| r
5051
)
5152

@@ -360,7 +361,6 @@ type HTMLinput = Interactive
360361
, onAbort :: Event
361362
, onChange :: Event
362363
, onError :: Event
363-
, onInput :: Event
364364
, onInvalid :: Event
365365
, onLoad :: Event
366366
, onSearch :: Event
@@ -582,7 +582,6 @@ type HTMLtextarea = Interactive
582582
, maxLength :: Int
583583
, name :: String
584584
, onChange :: Event
585-
, onInput :: Event
586585
, onScroll :: Event
587586
, onSelect :: Event
588587
, placeholder :: String

0 commit comments

Comments
 (0)