@types/photoswipe
Advanced tools
+15
-15
@@ -5,2 +5,3 @@ // Type definitions for PhotoSwipe 4.1.3 | ||
| // PikachuEXE <https://github.com/PikachuEXE> | ||
| // RazDva122 <https://github.com/Razdva122> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -65,2 +66,7 @@ | ||
| initialPosition?: any; | ||
| /** | ||
| * Custom IDs for each slide object that are used when forming URL | ||
| */ | ||
| pid?: string | number; | ||
| } | ||
@@ -145,3 +151,3 @@ | ||
| */ | ||
| allowNoPanText?: boolean; | ||
| allowPanToNext?: boolean; | ||
@@ -262,2 +268,10 @@ /** | ||
| /** | ||
| * Enables custom IDs for each slide object that are used when forming URL. | ||
| * If option set set to true, slide objects must have pid (picture identifier) property that can be a string or an integer. | ||
| * | ||
| * Default false. | ||
| */ | ||
| galleryPIDs?: boolean; | ||
| /** | ||
| * Error message when image was not loaded. %url% will be replaced by URL of image. | ||
@@ -286,16 +300,2 @@ * | ||
| /** | ||
| * NOTE: this property will be ignored in future versions of PhotoSwipe. | ||
| * | ||
| * @deprecated | ||
| */ | ||
| mainScrollEndFriction?: number; | ||
| /** | ||
| * NOTE: this property will be ignored in future versions of PhotoSwipe. | ||
| * | ||
| * @deprecated | ||
| */ | ||
| panEndFriction?: number; | ||
| /** | ||
| * Function that should return total number of items in gallery. Don't put very complex code here, function is executed very often. | ||
@@ -302,0 +302,0 @@ * |
| MIT License | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| Copyright (c) Microsoft Corporation. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
| { | ||
| "name": "@types/photoswipe", | ||
| "version": "4.1.0", | ||
| "version": "4.1.1", | ||
| "description": "TypeScript definitions for PhotoSwipe", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
| "githubUsername": "PikachuEXE" | ||
| }, | ||
| { | ||
| "name": "RazDva122", | ||
| "url": "https://github.com/Razdva122", | ||
| "githubUsername": "Razdva122" | ||
| } | ||
@@ -28,4 +33,4 @@ ], | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "f7f3fa9a36002add315bff128a6ca35dc53e5662dc01362936492e8dee62c4c2", | ||
| "typeScriptVersion": "2.8" | ||
| "typesPublisherContentHash": "b2b924eff0f3a8ab74b18ded45a4405cd37e800dff693641501118e3e82f986f", | ||
| "typeScriptVersion": "3.3" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Wed, 12 Feb 2020 18:36:17 GMT | ||
| * Last updated: Thu, 10 Dec 2020 05:20:25 GMT | ||
| * Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: `PhotoSwipe`, `PhotoSwipeUI_Default` | ||
| # Credits | ||
| These definitions were written by Xiaohan Zhang (https://github.com/hellochar), and PikachuEXE (https://github.com/PikachuEXE). | ||
| These definitions were written by [Xiaohan Zhang](https://github.com/hellochar), [PikachuEXE](https://github.com/PikachuEXE), and [RazDva122](https://github.com/Razdva122). |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
34775
0.86%