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
distfolder 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
mapmethod for getting data arrayinputmethod 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
triggermethod when called witheventDataparameter - Fixed bugs in the
outerHtmlandreplaceWithmethods, 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:
oddandeven - 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
prevandlastmethods - Code refactoring, minor bug fixes
Updates
- Improved performance of
scrollandresizemethods 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
onandtriggermethods - Multiple removal of event handlers in the
offmethod
Bug Fixes
- Minor bug fixes, code refactoring
Updates
- Description of new methods added to documentation