Releases: Mango/slideout
Releases · Mango/slideout
Release v1.0.1
Release v1.0.0
Features:
- Add an attribute called
data-slideout-ignore
to disable dragging on some elements (maybe for a photo slider, carousel google map, iframes, etc). - Add classnames dynamically:
.slideout-menu-left
and.slideout-panel-left
or.slideout-menu-right
and.slideout-panel-right
. - Use
classList
instead of regexp. - Use
overflow-y: scroll;
on.slideout-menu
.
Resolved issues:
Resolved PRs:
Release v0.1.12
Slideout
- Add new events:
translatestart
andtranslateend
. - Use
translateX
+will-change
instead oftranslate3d
. - Added code coverage.
- Updated
uglify-js
dependency.
Docs
- Added
tolerance
option docs. - Added fixed header docs.
- Added slideout only on mobile devices docs.
Release v0.1.11
- Fixed scrolling on mobile devices (#132)
Release v0.1.10
- Added
.destroy()
method. - Do not add DOM classes if them already exists.
Release v0.1.9
- Fix emitter version.
Release v0.1.8
- Added a
side
option to open the slideout fromleft
orright
.
var slideout = new Slideout({
'panel': document.getElementById('panel'),
'menu': document.getElementById('menu'),
'side': 'right'
});
- Update bower support.
Release v0.1.7
- Remove translate3d when slideout is closed (#51)
- Now, an instance of slideout can emit the following events (#61):
beforeclose
close
beforeopen
open
translate
The Slideout can emit translate
event only when it is opening/closing via touch events.
slideout.on('translate', function(translated) {
console.log(translated); // eg. 120 in px
});