Chrome Extension

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>
Code faster with devsheet chrome extension and increase productivity as a programmer
search code from your favorite search engine instantly.
Install Now

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.

Search Index Data (The code snippet can also be found with below search text)

Hide loader AMP
Was this helpful?
0 Comments
Open Code Manager We are hiring