@types/flickity 2.2.5 → 2.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flickity/README.md +1 -1
- flickity/index.d.ts +7 -3
- flickity/package.json +3 -3
flickity/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Flickity (https://flickity.metafizzy.
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flickity.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Thu,
|
|
11
|
+
* Last updated: Thu, 06 Oct 2022 14:32:55 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Flickity`
|
|
14
14
|
|
flickity/index.d.ts
CHANGED
|
@@ -76,7 +76,11 @@ declare namespace Flickity {
|
|
|
76
76
|
/**
|
|
77
77
|
* Triggered when the selected slide is changed.
|
|
78
78
|
*/
|
|
79
|
-
"change"
|
|
79
|
+
"change" |
|
|
80
|
+
/**
|
|
81
|
+
* Triggered when Flickity functionality has been removed completely
|
|
82
|
+
*/
|
|
83
|
+
"destroy";
|
|
80
84
|
interface Options {
|
|
81
85
|
/**
|
|
82
86
|
* Specify selector for cell elements. cellSelector is useful if you have other elements in your gallery elements that are not cells.
|
|
@@ -86,9 +90,9 @@ declare namespace Flickity {
|
|
|
86
90
|
cellSelector?: string | undefined;
|
|
87
91
|
|
|
88
92
|
/**
|
|
89
|
-
* Zero-based index of the initial selected cell.
|
|
93
|
+
* Zero-based index or selector string of the initial selected cell.
|
|
90
94
|
*/
|
|
91
|
-
initialIndex?: number | undefined;
|
|
95
|
+
initialIndex?: number | string | undefined;
|
|
92
96
|
|
|
93
97
|
/**
|
|
94
98
|
* Enable keyboard navigation. Users can tab to a Flickity gallery, and pressing left & right keys to change cells.
|
flickity/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/flickity",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.7",
|
|
4
4
|
"description": "TypeScript definitions for Flickity",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flickity",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"scripts": {},
|
|
42
42
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
44
|
-
"typeScriptVersion": "
|
|
43
|
+
"typesPublisherContentHash": "d7abd30f31851c06ac81b5061616edb0fc7ae14e5c5526937514c923c2db2b31",
|
|
44
|
+
"typeScriptVersion": "4.1"
|
|
45
45
|
}
|