Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

cancelable referenced in Polymer.Base API docs #1329

Closed
apowers313 opened this issue Sep 2, 2015 · 3 comments
Closed

cancelable referenced in Polymer.Base API docs #1329

apowers313 opened this issue Sep 2, 2015 · 3 comments
Milestone

Comments

@apowers313
Copy link

The Polymer Base API fire() method makes reference to an event being cancelable. It appears that it has been killed off a few times (1 2 3), but I believed the docs and tried to use it... As mentioned elsewhere, it doesn't work. I'm happy to provide a test case if it needs further confirmation.

@apowers313
Copy link
Author

cancelable also now appears in the Utility functions page.

@arthurevans
Copy link

The bugs that you point to discuss cancelBubble, a long-gone Polymer event property, which as far as I can tell is not related to cancelable, which is a standard even property and determines whether you can preventDefault.

The code just passes this flag to the standard CustomEvent constructor:
https://github.com/Polymer/polymer/blob/453cae589a1d82331ade1ed53965d7819694eecb/src/standard/utils.html#L162

Do you have a simple reproduction case for what you're seeing?

@arthurevans
Copy link

Ping? Can you provide a repro case here?

@arthurevans arthurevans added this to the Q4S3 milestone Nov 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants