mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-06 17:29:08 +00:00
Fixed tests/typings for 'photoswipe'.
This commit is contained in:
@@ -6,13 +6,11 @@ function test_defaultUI() {
|
||||
src: "path/to/image.jpg",
|
||||
w: 100,
|
||||
h: 200,
|
||||
specialProperty: true
|
||||
},
|
||||
{
|
||||
src: "path/to/image2.jpg",
|
||||
w: 1000,
|
||||
h: 2000,
|
||||
specialProperty: false
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
10
photoswipe/photoswipe.d.ts
vendored
10
photoswipe/photoswipe.d.ts
vendored
@@ -268,6 +268,16 @@ declare module PhotoSwipe {
|
||||
*/
|
||||
mainClass?: string;
|
||||
|
||||
/**
|
||||
* Undocumented.
|
||||
*/
|
||||
mainScrollEndFriction?: number;
|
||||
|
||||
/**
|
||||
* Undocumented.
|
||||
*/
|
||||
panEndFriction?: number;
|
||||
|
||||
/**
|
||||
* Function that should return total number of items in gallery. Don't put very complex code here, function is executed very often.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user