Releases: lume/asdom
Releases · lume/asdom
v0.2.1
New features:
- Add Location and all its properties and methods along with
window.locationanddocument.location. - Support
EventListenerobject listeners forEventTarget'saddEventListenerandremoveEventListenermethods. - 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
HistorywithpushState(),replaceState(), andlength, andwindow.historyreturns an instance of it. EventTarget.addEventListener,EventTarget.removeEventListener. Currently supports only callbacks, notEventListenerobjects yet. And no thirdoptionsoruseCapturearguments yet.ShadowRootElement.attachShadow()Element.shadowRootquerySelector()andquerySelectorAll()onDocument,Element, andDocumentFragmentNodemembers:firstChild,lastChild,nextSibling,previousSibling- Allow
Textobjects to be returned from anyNodeAPIs. HTMLCollectionNode.parentElementElement.childrenElement.tagNameElement.firstElementChildElement.lastElementChildElement.nextElementSiblingElement.previousElementSiblingDocument.childrenDocument.firstElementChildDocument.lastElementChildDocumentFragment.childrenDocumentFragment.firstElementChildDocumentFragment.lastElementChildDocumentFragment.querySelectorDocumentFragment.querySelectorAll- add
onclicktoDocumentandWindow - add
onpopstateanddocumenttoWindow
v0.1.13
New feature:
- Initial Custom Elements API bindings (
customElements.define(...))- Initial example element.
v0.1.10
v0.1.9
New features:
- Added
HTMLHeadingElementto mirror heading elements. - Added the readonly
Node.firstChildproperty which gives back the first child that a node has. - Added the readonly
HTMLTemplateElement.contentproperty which returns a a template'sDocumentFragment. - Updated the example to show usage of the above.