Skip to content

v0.1.15

Compare
Choose a tag to compare
@trusktr trusktr released this 01 Aug 00:59
· 100 commits to main since this release

New APIs since 0.1.13:

  • Add History with pushState(), replaceState(), and length, and window.history returns an instance of it.
  • EventTarget.addEventListener, EventTarget.removeEventListener. Currently supports only callbacks, not EventListener objects yet. And no third options or useCapture arguments yet.
  • ShadowRoot
  • Element.attachShadow()
  • Element.shadowRoot
  • querySelector() and querySelectorAll() on Document, Element, and DocumentFragment
  • Node members: firstChild, lastChild, nextSibling, previousSibling
  • Allow Text objects to be returned from any Node APIs.
  • HTMLCollection
  • Node.parentElement
  • Element.children
  • Element.tagName
  • Element.firstElementChild
  • Element.lastElementChild
  • Element.nextElementSibling
  • Element.previousElementSibling
  • Document.children
  • Document.firstElementChild
  • Document.lastElementChild
  • DocumentFragment.children
  • DocumentFragment.firstElementChild
  • DocumentFragment.lastElementChild
  • DocumentFragment.querySelector
  • DocumentFragment.querySelectorAll
  • add onclick to Document and Window
  • add onpopstate and document to Window