Releases: lume/asdom
Releases · lume/asdom
v0.2.1
New features:
- Add Location and all its properties and methods along with
window.location
anddocument.location
. - Support
EventListener
object listeners forEventTarget
'saddEventListener
andremoveEventListener
methods. - Add
Object.toString
. It works for any instances of subclasses that may override it, f.e.Location.toString
.
v0.2.0
v0.1.15
New APIs since 0.1.13:
- Add
History
withpushState()
,replaceState()
, andlength
, andwindow.history
returns an instance of it. EventTarget.addEventListener
,EventTarget.removeEventListener
. Currently supports only callbacks, notEventListener
objects yet. And no thirdoptions
oruseCapture
arguments yet.ShadowRoot
Element.attachShadow()
Element.shadowRoot
querySelector()
andquerySelectorAll()
onDocument
,Element
, andDocumentFragment
Node
members:firstChild
,lastChild
,nextSibling
,previousSibling
- Allow
Text
objects to be returned from anyNode
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
toDocument
andWindow
- add
onpopstate
anddocument
toWindow
v0.1.13
New feature:
- Initial Custom Elements API bindings (
customElements.define(...)
)- Initial example element.
v0.1.10
v0.1.9
New features:
- Added
HTMLHeadingElement
to mirror heading elements. - Added the readonly
Node.firstChild
property which gives back the first child that a node has. - Added the readonly
HTMLTemplateElement.content
property which returns a a template'sDocumentFragment
. - Updated the example to show usage of the above.