This repository was archived by the owner on Jul 10, 2025. It is now read-only.
API Changes
- Added
once()method to allow an event to be fired once only (See docs) - Added
undo()andredo()methods as aliases ofstate('undo')andstate('redo')respectively - Added
handleoption to only allow selection to start from that element (See docs) - Added
destroyedevent (See docs) - Changed
toggle()method to allow passing a boolean as the second argument to force the state (See docs) - Deprecated
bind()andunbind()methods and added more semanticattachEvents()anddetachEvents() - Deprecated
appendTooption and added thecontaineroption as a replacement (See docs)
Fixes
- Fixed
mouseoverevent not being removed when destroying or disabling an instance
Perfrormance Tweaks
- Replaced slower
forEachloops - Removed the
classListshim in favour of the nativeElement.classListproperty