-
@AgentZeroNine @dannymoerkerke I tend to have content attribute reflection as part of my custom element (example: github.com/GoogleChromeLabs/dark-mode-toggle/blob/fa464eb4e8589fefe8d8d3bc5b7de783a98a6766/src/dark-mode-toggle.mjs#L41-L70). More background: html.spec.whatwg.org/multipage/common-dom-interfaces.html#reflecting-content-attributes-in-idl-attributes.