linkel / stokes-einstein

Demonstrating influence of variables on the hydrodynamic diameter of a particle from the Stokes-Einstein equation.
http://stokes-einstein.surge.sh
0 stars 0 forks source link

Pulse the variable when slider is moved #8

Open linkel opened 6 years ago

linkel commented 6 years ago

I'm thinking about turning the variable blue or purple or green and then fading that color until it gets back to white when the corresponding slider is changed. I'd have to make sure it only does it once and doesn't repeat way too soon if the slider is held on.

Also have to see if the ids for each variable generated from mathjax is consistent, so that I can select the correct one and trust that it stays the same each time the webpage is generated. Maybe down the line I can write a test for this.

Thanks to a dear someone who showed me some neat stuff with Chrome's inspect mode that I didn't know.

linkel commented 6 years ago

What the heck, this is confusing.

Trying to change the element with id MJXc-Node-15 first, and I'm running into some roadblocks on binding and props. Time to reread the docs...spent an hour or two on this now and have not puzzled it out. There must be something simple I am missing.