[w3c/webcomponents] observedStyles (#856)

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