Open davidmaxwaterman opened 6 years ago
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 :)
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.