Skip to content

Add composition events to GlobalEventHandlers - #949

Merged
Orta Therox (orta) merged 1 commit into
microsoft:masterfrom
marijnh:master
Dec 21, 2020
Merged

Orta Therox (orta) merged 1 commit into
microsoft:masterfrom
marijnh:master

Conversation

@marijnh

Copy link
Copy Markdown
Contributor

GlobalEventHandlers were missing "compositionstart", "compositionupdate" and "compositionend", which caused errors when trying to use a function type that relied on getting even object types from that type.

(I should note that I don't really know what I'm doing here, and just searched for the other event names and added similar declarations in what looked like the appropriate place.)

Comment thread inputfiles/addedTypes.json Outdated
"type": "Event"
},
{
"name": "compositionstart",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is no corresponding oncompositionstart etc., these should go to attributeless-events instead. Also, please run npm i && npm run build && npm run baseline-accept and commit the results.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pointer! I've updated the patch.

@marijnh

Copy link
Copy Markdown
Contributor Author

Is there anything else I can do to move this forward?

@orta

Copy link
Copy Markdown
Contributor

Looks very available to me: https://caniuse.com/mdn-api_element_compositionstart_event - thanks

@orta
Orta Therox (orta) merged commit 5800225 into microsoft:master Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants