Document Object Model Documentation =================================== .. note:: The API changed significantly in version 4. See :doc:`the changelog <../upgrading>` for details. The methods described in this page make it easy to modify the appearance and content of a loaded document and manage interaction with the document. For the most part, this page mirrors the core JavaScript DOM API. .. autoclass:: tkinterweb.dom.HTMLDocument :members: .. autoclass:: tkinterweb.dom.HTMLElement :members: The following JavaScript event properties are also supported: ``onchange``, ``onclick``, ``oncontextmenu``, ``ondblclick``, ``onload``, ``onmousedown``, ``onmouseenter``, ``onmouseleave``, ``onmousemove``, ``onmouseout``, ``onmouseover``, and ``onmouseup``. .. autoclass:: tkinterweb.dom.HTMLCollection :members: .. autoclass:: tkinterweb.dom.CSSStyleDeclaration :members: .. autoclass:: tkinterweb.dom.DOMRect :members: Special thanks to `Zamy846692 `_ for the help making this happen!