Upcoming breaking change: Getter methods on Event will be changed to exported fields. Shout out if this will break your code
#89
stroiman
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TLDR: If you have code depending on getter methods on
Eventdo comment below. If you do, I will make sure for a transition, so a single version update doesn't break code.Affected methods are
TargetCurrentTargetDefaultPreventedEventPhaseThese are defined as read-only attributes in the IDL spec, so it seemed reasonable to implement them as getter methods returning unexported values.
But to simplify code generation from IDL specifications, I can simplify a lot by converting them to exported fields.
Beta Was this translation helpful? Give feedback.
All reactions