Releases: pawelgrzybek/siema
Releases · pawelgrzybek/siema
Siema 1.3.0
onInit
callback added to optionsonChange
callback added to options
Example:
function onInitCallback() {
console.log('Siema initialised bro :)');
}
function onChangeCallback() {
console.log('Slide changed bro :)');
}
const mySiema = new Siema({
onInit: onInitCallback,
onChange: onChangeCallback,
});
Thanks to: @hsnaydd
Siema 1.2.0
Changelog
- Modern ECMAScript 2015 class notation
- Add webpack as a build tool
- UMD (Universal Module Definition) pattern
- Docs moved to separated directory
prev()
andnext()
method can take an optional argument
const mySiema = new Siema();
buttonPrev.addEventListener('click', () => mySiema.prev(2));
buttonNext.addEventListener('click', () => mySiema.next(2));
- UpdateAfterDrag can swipe multiple items - fixes issue 28
- Wrap each slide in separated div improves styling encapsulation
- Documentation simplified
- Add to docs links to Angular, React and Vue implementations
Siema v1.1.0
- Add
destroy()
method - Docs clean up
Siema v1.0.0
v.1.0.0 version 1.0.0 ready