Changelog
2.2.0 - 2017-11-06
d.data()
is an array of keys, returns an object with all {key: value}d.data()
is undefined, returns an object with all valuesChangelog
2.1.0 - 2017-10-20
d.get()
and d.getAll()
to define a context:scope
selectorChangelog
2.0.1 - 2017-08-04
Element.prototype.closest
.Changelog
2.0.0 - 2017-08-04
Element.prototype.closest
Element.prototype.replaceWith
NodeList.prototype.forEach
d.is()
and implemented a polyfill for Element.prototype.matches
instead.d.remove()
and implemented a polyfill for Element.prototype.remove
instead.d.append()
and implemented a polyfill for Element.prototype.append
instead.d.prepend()
and implemented a polyfill for Element.prototype.prepend
instead.d.insertBefore()
and implemented a polyfill for Element.prototype.before
instead.d.insertAfter()
and implemented a polyfill for Element.prototype.after
instead.d.getAll()
returns a NodeList, instead an arrayd.parse()
returns a documentFragment, instead an arrayChangelog
1.10.0 - 2017-07-20
d.delegate()
includes a second argument with the target.Changelog
1.9.0 - 2017-04-19
d.getData()
and d.setData()
.d.data()
to set/get data.data()
to the prototyped.delegate()
with custom eventsChangelog
1.8.0 - 2017-04-17
d.getData()
and d.setData()
.Changelog
1.6.0 - 2017-02-24
d.get
and d.getAll
(to select the context). Now you have to use a plain object. For example: d.get({'li': document})
. This allows to use context in other functions like d.on
, d.insertAfterTo
, etc...