- From: Christian Corti <notifications@github.com>
- Date: Sun, 24 Nov 2019 11:32:44 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 24 November 2019 19:32:46 UTC
Sometime a custom element may need something like an orientation attribute to make it vertically or horizontally (think to a slider for example), in theory it would be better to have that as a css style instead of an attribute but currently there is no way to observe a change in a style (being inline or in a class) so the custom element cannot respond to it. Is there any plan to add something like observedStyles() similar to observedAttributes() or any other similar method to do it? Sorry if this not the right place to ask... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/856
Received on Sunday, 24 November 2019 19:32:46 UTC