code: def textContent(self, text: str) -> None:  # type: ignore
          
          self._set_text_content(text)
          if self.connected:
              self._set_text_content_web(text)
docs: Set textContent both on this node and related browser node.