Skip to content

Instantly share code, notes, and snippets.

@andre487
Created March 23, 2020 15:58
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 andre487/2541020a8a74a56673770db324961537 to your computer and use it in GitHub Desktop.
Save andre487/2541020a8a74a56673770db324961537 to your computer and use it in GitHub Desktop.
FMP interval
<script>
requestAnimationFrame(() => {
sendCounter('low-fmp-border')
requestAnimationFrame(() => {
sendCounter('high-fmp-border')
})
})
</script>
<div id="main">Main content</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment