mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 04:50:54 +08:00
17 lines
284 B
TypeScript
17 lines
284 B
TypeScript
import Siema = require('siema');
|
|
|
|
const siema = new Siema({
|
|
selector: '.siema',
|
|
duration: 200,
|
|
easing: 'ease-out',
|
|
perPage: 1,
|
|
startIndex: 0,
|
|
draggable: true,
|
|
threshold: 20,
|
|
loop: false,
|
|
});
|
|
|
|
siema.next();
|
|
siema.prev();
|
|
siema.goTo(siema.currentSlide);
|