Releases: digikid/dom-element
Releases · digikid/dom-element
1.4.4
1.4.3
1.4.2
Features
- Added event delegation for elements that have not yet been created
- Added exported type for DomElement instance
- Clearing
dist
folder when running tests
Bug Fixes
- Fixed a bug that caused the event handlers call to be ignored on nested elements
- Code refactoring, minor bug fixes
Updates
- Renaming types
- Utilities moved to the top level folder
- Updated documentation for event methods
1.4.1
1.4.0
Features
map
method for getting data arrayinput
method for working with DOM event
Bug Fixes
- Fixed a bug that caused the source collection to mutate when saving an instance to a variable and then calling methods
- Improved display of types in IDE
- Code refactoring, minor bug fixes
Updates
- Documentation updated, added description of new methods
1.3.2
1.3.1
1.3.0
Features
- Methods for performant event handling:
resizeDebounce
,scrollDebounce
,resizeThrottle
,scrollThrottle
Bug Fixes
- Fixed bug in
trigger
method when called witheventData
parameter - Fixed bugs in the
outerHtml
andreplaceWith
methods, now the methods return a collection of updated elements - Code refactoring, minor bug fixes
Updates
- Improved algorithm for adding event handlers through delegation
- Updated documentation, added description of new methods
1.2.0
Features
- Methods for getting even and odd elements:
odd
andeven
- Methods for working with events:
contextmenu
,dblclick
,focusin
,focusout
,hover
,keydown
,keypress
,keyup
,mousedown
,mouseenter
,mouseleave
,mousemove
,mouseout
,mouseover
,mouseup
,select
,triggerHandler
Bug Fixes
- Fixed logic of
prev
andlast
methods - Code refactoring, minor bug fixes
Updates
- Improved performance of
scroll
andresize
methods by usingrequestAnimationFrame
- Redesigned algorithm for adding custom functions
- Documentation is completely updated, all methods are categorized
1.1.0
Features
- Effects
fadeIn
,fadeOut
,fadeToggle
,slideIn
,slideOut
,slideToggle
- Adding handlers for multiple events in
on
andtrigger
methods - Multiple removal of event handlers in the
off
method
Bug Fixes
- Minor bug fixes, code refactoring
Updates
- Description of new methods added to documentation