- Small tweaks for TypeScript definitions
- Small tweaks for TypeScript definitions
- Added TypeScript definitions
- Fixed issue with undefined elements in classList access (#13)
- Fixed issue with remove event listeners when they was not added
- Support for setting array value on multiple select
- Imporved internal events proxies logic for better memory management
- Fixed issue with not found
$.extend
in.animate
- Added
ssr-window
dependency to throw less errors in SSR environment
- Modular version
dom7.modular.js
is more modular now and exports every method separately.
- Removed XHR (Ajax) functionality
- Removed
$.
utilities, including$.parseUrlQuery
,$.isArray
,$.each
,$.unique
,$.serializeObject
,$.dataset
,$.extend
- Fixed issue when calling
.show()
always setdisplay: block
not repsecting actual display property
- Removed
$.getTranslate
method - Imporved logic of
$.extend
method - New
dom7.modular.js
version for custom es imports, e.g.import { $, Methods, Ajax } from 'dom7.modular.js'
- New
.forEach((element, index))
method - New
.map((index, element))
method - New
.toArray()
method that converts Dom7 collection to simple array $.supportTouch
and$.removeDiacritics
helpers removed- Fixed issue with detaching live event listener without listener function
- Fixed issue with handling events without target (e.g. Cordova "resume" event)
- Fixed issue with Ajax post method throwing error with "multipart/form-data" content type
- Added shortcut methods
click blur focus focusin focusout keyup keydown keypress submit change mousedown mousemove mouseup mouseenter mouseleave mouseout mouseover touchstart touchend touchmove resize scroll
- Proxified events. Now all events are being added/removed using proxy functions. This allows to pass additional arguments to events handlers and detach all assigned event listener by calling e.g.
$$(document).off('someEvent');
- New
Dom7.extend(obj1, obj2, ...)
method - Added
.animate(props, params)
and.stop()
animation methods - Added ES2015 module build