viewof qrstore = {
const value = ["initial"],
img = DOM.element("img"),
notify = async () => (
img.dispatchEvent(new CustomEvent('input')),
qrcode.toDataURL(JSON.stringify(value)).then(u => (img.src = u))
),
append = message => (value.push(message), notify()),
empty = () => (value.splice(0, value.length), notify());
notify();
return Object.assign(img, { append, empty, value });
}