Fixed tests/typings for 'photoswipe'.

This commit is contained in:
Daniel Rosenwasser
2015-08-20 17:03:58 -07:00
parent 25db4a0cdf
commit 2df5e8ac4f
2 changed files with 10 additions and 2 deletions

View File

@@ -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
}
];

View File

@@ -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.
*