How to change attributes in the main HTML node

Hi @stein,

I think you’re looking for:

from anvil.js.window import document

document.querySelector("html").setAttribute("translate", "no")
1 Like