@types/siema
Advanced tools
+8
-3
| // Type definitions for siema 1.4 | ||
| // Project: https://github.com/pawelgrzybek/siema | ||
| // Definitions by: Irmantas Zenkus <https://github.com/Irmiz> | ||
| // Sam Nau <https://github.com/samnau> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -20,7 +21,11 @@ declare class Siema { | ||
| interface perPageInterface { | ||
| [key: number]: number; | ||
| } | ||
| interface SiemaOptions { | ||
| selector?: string; | ||
| selector?: string | HTMLElement; | ||
| duration?: number; | ||
| easing?: string; | ||
| perPage?: number; | ||
| perPage?: number | perPageInterface; | ||
| startIndex?: number; | ||
@@ -31,3 +36,3 @@ draggable?: boolean; | ||
| loop?: boolean; | ||
| onInit(): void; | ||
| onInit?(): void; | ||
| onChange?(): void; | ||
@@ -34,0 +39,0 @@ } |
| { | ||
| "name": "@types/siema", | ||
| "version": "1.4.0", | ||
| "version": "1.4.1", | ||
| "description": "TypeScript definitions for siema", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
| "githubUsername": "Irmiz" | ||
| }, | ||
| { | ||
| "name": "Sam Nau", | ||
| "url": "https://github.com/samnau", | ||
| "githubUsername": "samnau" | ||
| } | ||
@@ -21,4 +26,4 @@ ], | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "8445f4d81661f9cb5cca3f333f8d3b89e42fc8371a579ab6d45cc6111b6d7ef9", | ||
| "typesPublisherContentHash": "7894d55a42f5ad638a0c7750cee4b8db9ff2dca6662283525b0c526c613ff15c", | ||
| "typeScriptVersion": "2.0" | ||
| } |
+2
-2
@@ -11,3 +11,3 @@ # Installation | ||
| Additional Details | ||
| * Last updated: Tue, 03 Oct 2017 13:52:18 GMT | ||
| * Last updated: Sat, 23 Dec 2017 16:04:56 GMT | ||
| * Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
| # Credits | ||
| These definitions were written by Irmantas Zenkus <https://github.com/Irmiz>. | ||
| These definitions were written by Irmantas Zenkus <https://github.com/Irmiz>, Sam Nau <https://github.com/samnau>. |
3653
7.89%34
13.33%