Skip to content

Releases: pawelgrzybek/siema

Siema 1.3.0

25 Mar 08:15
Compare
Choose a tag to compare
  • onInit callback added to options
  • onChange 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

20 Feb 16:31
Compare
Choose a tag to compare

Changelog

  • Modern ECMAScript 2015 class notation
  • Add webpack as a build tool
  • UMD (Universal Module Definition) pattern
  • Docs moved to separated directory
  • prev() and next() 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

15 Jan 10:31
Compare
Choose a tag to compare
  • Add destroy() method
  • Docs clean up

Siema v1.0.0

08 Dec 10:21
Compare
Choose a tag to compare
v.1.0.0

version 1.0.0 ready