viewport

represents the browsers viewport as a signal changing over time

Usage no npm install needed!

<script type="module">
  import viewport from 'https://cdn.skypack.dev/viewport';
</script>

README

viewport

Represents the browsers viewport as a stream of immutable values which change over time

API

see test.html