amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Lightbox attributes in development mode

Open teleservizi opened this issue 11 years ago • 1 comments

In development mode (< script src="https://www.gstatic.com/amphtml/v0.js" development >< /script >) the console says that my lightbox is missing this attributes : from,width,height. The first is undocumented and the lightbox works fine even without it Width and Height are totally ignored even if setted

< amp-lightbox id="mainLightbox3" class="lightbox1" layout="nodisplay" > ..... < /amp-lightbox >

teleservizi avatar Sep 16 '15 13:09 teleservizi

We're slightly surprised the lightbox is working at all :) It isn't in our released set of components. (See release notes). We actually expect major changes to make it much better to land soon.

I will close this for now, but will ping when we released the component.

CC @dvoytenko

cramforce avatar Sep 16 '15 13:09 cramforce