seed
Read the seed used by the last render, or set the seed attribute.
Syntax
- doodle.seed
- doodle.seed = 'any value'
Without a seed attribute or @seed property every render generates a new seed,
and the getter returns whichever one produced the current image.
Setting the property writes the attribute and re-renders.
Examples
const doodle = document.querySelector('css-doodle');
// remember the seed of a render you like
const seed = doodle.seed;
// reproduce it later
doodle.seed = seed;