Getting a CSS Variable’s Value
You can use this easily in any JavaScript project. As an example, I’m using it with Svelte to switch my Plotly charts between light and dark mode.
This author has not written his bio yet.
But we are proud to say that Génesis contributed 215 entries already.
You can use this easily in any JavaScript project. As an example, I’m using it with Svelte to switch my Plotly charts between light and dark mode.
Use rsync and exclude node_modules: -rv stand for recurse into directories and increase verbosity (see more info while copying)
This is a basic but really useful (less is more) example of how to use Plotly to show a measure varying over time (live). You can resize the window here or on JSFiddle to check how it fits to the render area.
I created the exact same app in Vue and Vanilla. I called it Papafilms (yes, potatos and films…), you can search films, save your favorite ones and see details in a cool minimalistic and responsive interface. A small basic app to test Vue vs Vanilla code. Check it here from any device. Both versions are […]