vh-watch

A simple function to update vh unity update as a css variable

Usage no npm install needed!

<script type="module">
  import vhWatch from 'https://cdn.skypack.dev/vh-watch';
</script>

README

vh-watch

npm version

A simple function to update vh unity update as a css variable

Instalation

npm install --save vh-watch

How

import { initAndWatchVh } from "vh-watch";

initAndWatchVh();