Creates a HTML element per value. By default compares
values by JSON.stringify. Set byReference:true to
compare values based on reference. Or provide a toString
function via key.
// Generate a random number between 0...4 every second constlooper = Generators.interval(() =>Math.floor(Math.random()*5), 1000);
// Make a chain constch = Chains.run( looper, Chains.Links.delay({before:1000}), Chains.Dom.perValue() );
Creates a HTML element per value. By default compares values by
JSON.stringify
. SetbyReference:true
to compare values based on reference. Or provide a toString function viakey
.