- From: Christian Corti <notifications@github.com>
- Date: Tue, 26 Nov 2019 07:54:31 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 26 November 2019 15:54:33 UTC
Another example, some pages let you change language, some languages can be rtl ot bt, they change the layout via stylesheet so there is no page reload, how can my custom element respond to that without being notified of the change? Sure in some cases you can use matches(:dir(rtl)) [when it will be available] but most of the time your component will need to change the layout, right now as far as I know there is no solution, you can observe the dir attribute but not the dir attribute on the html element and nothing about tp/bt, observing the relevant styles would solve the problem. -- 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#issuecomment-558693734
Received on Tuesday, 26 November 2019 15:54:33 UTC