[webcomponents] [Decorators]: Would there be any associated events fired when decorator gets unapplied? (bugzilla: 15148) (#258)

Title: [Decorators]: Would there be any associated events fired when decorator gets unapplied? (bugzilla: 15148)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15148

----
comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15148#c0
*Divya Manian* wrote on 2011-12-12 18:49:49 +0000.

"If the document changes so that the decorate property no longer applies, the decorator is unapplied, returning the rendering of the element back to the pre-decoration state."

Just wondering because I think it might be useful, to trigger actions and functions when this occurs.

----

comment: 1
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15148#c1
*Dimitri Glazkov* wrote on 2011-12-21 20:43:52 +0000.

Rerouting to decorators spec.

----

comment: 2
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15148#c2
*Dominic Cooney* wrote on 2011-12-26 02:07:35 +0000.

What is the use case for this? I can imagine a decorator wanting to cancel a timeout.

On the other hand, events fired in response to styling and layout are rare (OverflowEvent?)

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/258

Received on Monday, 6 July 2015 07:44:18 UTC