- Fixed duplicate hook
beforeCacheDom
inTarget#cacheDom
. Now renamed toafterCacheDom
.
- Added composer.json
- Fixed several issues relating to the Dataset API and multimix-like operations (i.e. simultaneous insertion/removal/sorting/dirty-checking)
- Added ability to extend static factory methods (such as
mixitup.use
) with hooks. - Added ability to return a single DOM element from
render.target
instead of an HTML string - Moved target rendering functionality into
Target
class, so that targets can render themselves - Force disable controls if dataset API is in use (if
data.uidKey
is set)
- Exposed
.toggleOn()
and.toggleOff()
API methods publicly via the mixer facade, as were accidently missed out previously.
- Improved
compareVersions
util function to handle semver notation correctly (e.g.'^'
,'~'
,'-beta'
, etc). - Fixed issue with "Filtering by URL" demo that added a
#mix
segment to the URL for filter "all"
- Fixed issue where
transitionend
event handlers were not rebound to re-rendered targets during dirtyCheck updates. - Fixed issue where dataset operation objects where created on push to queue, resulting in corrupted target data.
- Added
selectors.controls
configuration option to allow for further specificity of control querying in addition to the mandatory data attributes. - Fixed package.json issues.
- Fixed issue where
layout.containerClassName
is not reflected in state object after instantiation.
- Release