Skip to content

Introducing Plugins

Choose a tag to compare

@alphanull alphanull released this 24 Jul 16:21
· 3 commits to master since this release
aebeb63

[2.1.0] – 2025-07-24

Added

  • Plugin System: New extensible plugin architecture with registerPlugin() method
  • Enhanced Mount/Unmount System:
  • Input Range Plugin: Touch-drag support for <input type="range"> elements
  • Select Wrapper Plugin: Automatic wrapping of <select> elements
  • Legacy Property Support: Automatic migration from old property names
  • New destroy() Method: Replaces deprecated teardown() method

Changed

  • Constructor API: Now accepts options object instead of just parent node
  • Improved Event Handling: Better event handler management and cleanup
  • Documentation: Updated JSDoc comments and inline documentation

Deprecated

  • teardown() method - Use destroy() instead
  • Legacy property names: tag, text, ref, nodes, events - Use _tag, _text, _ref, _nodes, _events instead