Skip to content

Releases: digikid/dom-element

1.4.4

24 Jul 04:21
Compare
Choose a tag to compare

Features

  • Global types moved to global.d.ts file

Bug Fixes

  • Minor bug fixes in test scripts

Updates

  • Main development task renamed with dev
  • Update documentation files

1.4.3

20 Jul 22:54
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug causing incorrect selector parsing
  • Fixed a bug in the addClass and removeClass methods that occurred when passing multiple classes as a string
  • Code refactoring, minor bug fixes

1.4.2

19 Jul 21:32
Compare
Choose a tag to compare

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

09 Jul 01:48
Compare
Choose a tag to compare

Updates

  • All documentation translated into English

1.4.0

23 Jun 03:44
Compare
Choose a tag to compare

Features

  • map method for getting data array
  • input 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

21 Jun 01:24
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug in val method causing all elements of textarea to be ignored

1.3.1

20 Jun 00:21
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug in the slideDown, slideToggle and slideUp methods, causing incorrect display of the effect

1.3.0

19 Jun 01:18
Compare
Choose a tag to compare

Features

  • Methods for performant event handling: resizeDebounce, scrollDebounce, resizeThrottle, scrollThrottle

Bug Fixes

  • Fixed bug in trigger method when called with eventData parameter
  • Fixed bugs in the outerHtml and replaceWith 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

16 Jun 09:58
Compare
Choose a tag to compare

Features

  • Methods for getting even and odd elements: odd and even
  • 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 and last methods
  • Code refactoring, minor bug fixes

Updates

  • Improved performance of scroll and resize methods by using requestAnimationFrame
  • Redesigned algorithm for adding custom functions
  • Documentation is completely updated, all methods are categorized

1.1.0

11 Jun 00:08
Compare
Choose a tag to compare

Features

  • Effects fadeIn, fadeOut, fadeToggle, slideIn, slideOut, slideToggle
  • Adding handlers for multiple events in on and trigger 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