You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
IINM, the polymer fire() method also sets the cancellable flag to true. This tripped me up in a recent upgrade since the code was testing defaultPrevented which was always false, even though preventDefault() had been called.
The text was updated successfully, but these errors were encountered:
API docs say that the default for cancelable in the fire method is false https://www.polymer-project.org/1.0/docs/api/#method-fire ... this matches up with the Web API defaults for Event and CustomEvent as far as i can work out. I'm curious what caused you to think cancelable gets set to true? If you can point it out in the docs or give a code sample I will try to clear up any confusion, or raise a bug if needed :)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
IINM, the polymer
fire()
method also sets thecancellable
flag totrue
. This tripped me up in a recent upgrade since the code was testingdefaultPrevented
which was always false, even thoughpreventDefault()
had been called.The text was updated successfully, but these errors were encountered: