Added perPage property on Siema (#40451)

* Added perPage property

Siema makes the property perPage available, and it is useful to be able to read it, so I'm adding it to the type definition.

* added test

* added myself as contributor

* fixed tests
This commit is contained in:
Jonathan
2019-11-25 17:22:02 -08:00
committed by Andrew Casey
parent b366d203b6
commit c7dc74d7c2
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -3,10 +3,12 @@
// Definitions by: Irmantas Zenkus <https://github.com/Irmiz>
// Pavel Puchkov <https://github.com/0x6368656174>
// Sam Nau <https://github.com/samnau>
// Jonathan Loss <https://github.com/barroudjo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export default class Siema {
currentSlide: number;
perPage: number;
constructor(options?: SiemaOptions);
+1
View File
@@ -25,3 +25,4 @@ siema.prepend(elem, () => {});
siema.append(elem, () => {});
siema.destroy();
siema.destroy(true, () => {});
siema.goTo(siema.perPage);