marcj / css-element-queries

CSS Element-Queries aka Container Queries. High-speed element dimension/media queries in valid css.
http://marcj.github.io/css-element-queries/
MIT License
4.27k stars 487 forks source link

Support for Web-Component? #191

Closed yairopro closed 6 years ago

yairopro commented 7 years ago

Hi =)

Does ResizeSensor support Web-Component? If yes, maybe there's something wrong with my demo. The Web-Component I made (using Google's Polymer 2.0 library) should log resized when it's resized, but it doesn't log anything.

alijaya commented 6 years ago

+1

yairopro commented 6 years ago

@alijaya I'm using pelotoncycle/resize-observer. It's currently the only lib I've found which works with web-components. Actually it does well its job. I haven't got any problem with it.

alijaya commented 6 years ago

thanks for the sugestion :D