File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ function test_defaultUI() {
51
51
return el . tagName === 'A' ;
52
52
} ,
53
53
mainScrollEndFriction : 0.35 ,
54
- panEndFriction : 0.35
54
+ panEndFriction : 0.35 ,
55
+ modal : true
55
56
} ;
56
57
57
58
var photoSwipe : PhotoSwipe < PhotoSwipeUI_Default . Options > ;
Original file line number Diff line number Diff line change 1
- // Type definitions for PhotoSwipe 4.0.7
1
+ // Type definitions for PhotoSwipe 4.0.8
2
2
// Project: http://photoswipe.com/
3
3
// Definitions by: Xiaohan Zhang <https://github.com/hellochar>
4
4
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -308,6 +308,13 @@ declare module PhotoSwipe {
308
308
* }
309
309
*/
310
310
isClickableElement ?: ( el : HTMLElement ) => boolean ;
311
+
312
+ /**
313
+ * Controls whether PhotoSwipe should expand to take up the entire viewport.
314
+ * If false, the PhotoSwipe element will take the size of the positioned parent of the template. Take a look at the FAQ for more
315
+ * information.
316
+ */
317
+ modal ?: boolean ;
311
318
}
312
319
313
320
interface UIFramework {
You can’t perform that action at this time.
0 commit comments