Skip to content

Commit

Permalink
Merge pull request #351 from jrandolf/jrandolf/uievents-inputs
Browse files Browse the repository at this point in the history
Use `USVString` for input and composition events
  • Loading branch information
garykac authored Dec 4, 2023
2 parents ee7998e + 32b6dba commit d564b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sections/event-types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2343,7 +2343,7 @@ myDiv.addEventListener("auxclick", function(e) {
[Exposed=Window]
interface InputEvent : UIEvent {
constructor(DOMString type, optional InputEventInit eventInitDict = {});
readonly attribute DOMString? data;
readonly attribute USVString? data;
readonly attribute boolean isComposing;
readonly attribute DOMString inputType;
};
Expand Down Expand Up @@ -3126,7 +3126,7 @@ myDiv.addEventListener("auxclick", function(e) {
[Exposed=Window]
interface CompositionEvent : UIEvent {
constructor(DOMString type, optional CompositionEventInit eventInitDict = {});
readonly attribute DOMString data;
readonly attribute USVString data;
};
</pre>

Expand Down

0 comments on commit d564b58

Please sign in to comment.