Bugfixes:
- Fixed #122
- Fixed #120 and #119 with
autoUpdate : true
set. - Fixed a bug where the
update()
method didn't undo thesleep()
method like it should.
Features:
- The
getState()
methods returned object contains now a new property calleddestroyed
which indicates that the instance has been destroyed.
Improvements:
- Changed the management of
passive event listeners
: touch events which callprefentDefault()
are now added withpassive : false
, all other events which should be passive and don't callprefentDefault()
are added withpassive : true
. Fixed #124 with this change. - Preparation for
framework wrappers
such asreact
,vue
andangular
: theoption()
method will now only cause a call to theupdate()
method if at least one option has been truly changed.
Internal Changes:
- Cleaner handling of the internal
update()
method. - Preparation for DOM-
tests
.