html
Disable loading indicator on AMP element
If you want to disable the loading indicator on the AMP element then add noloading attribute to that element.
<amp-img src="path/to/image.jpg"
noloading
height="300"
width="500"
layout="responsive">
</amp-img>
In the code snippet, we are hiding the default loading indicator for the amp-img AMP element by adding 'noloading' attribute to the AMP image element.
Was this helpful?
Similar Posts