mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08: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
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Vendored
+10
@@ -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