Skip to content

Instantly share code, notes, and snippets.

@Antoinebr
Created April 9, 2019 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Antoinebr/ed3a4475e98282656ac8481ffbc3f576 to your computer and use it in GitHub Desktop.
Save Antoinebr/ed3a4475e98282656ac8481ffbc3f576 to your computer and use it in GitHub Desktop.
cors-amp-everywhere.html
<amp-list src="https://cors-anywhere.herokuapp.com/https://www.energiedirect.nl/api/v1/search?maxContentLength=150&maxresults=5&q=home" single-item items="Results" width="900" height="100" layout="responsive" >
<template type="amp-mustache">
<p class="listitem">Dynamic DATA fetched with AJAX with amp-list 👍 : \{{Title}} </p>
</template>
</amp-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment