mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
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:
Vendored
+2
@@ -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);
|
||||
|
||||
|
||||
@@ -25,3 +25,4 @@ siema.prepend(elem, () => {});
|
||||
siema.append(elem, () => {});
|
||||
siema.destroy();
|
||||
siema.destroy(true, () => {});
|
||||
siema.goTo(siema.perPage);
|
||||
|
||||
Reference in New Issue
Block a user