@types/scroll-to-element
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -8,5 +8,5 @@ // Type definitions for scroll-to-element 2.0 | ||
offset: number; | ||
align?: 'top' | 'middle' | 'bottom'; | ||
ease?: string; | ||
duration?: number; | ||
align?: 'top' | 'middle' | 'bottom' | undefined; | ||
ease?: string | undefined; | ||
duration?: number | undefined; | ||
} | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "@types/scroll-to-element", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "TypeScript definitions for scroll-to-element", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scroll-to-element", | ||
"license": "MIT", | ||
@@ -14,3 +15,3 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -23,4 +24,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ec95e0111eb31d54f19462fcb14863dbd3fa5f8ae186fad51f3a5b22c9b84258", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "34c77a659a1637c993eb93133b9145e9811ef8b4d26ccbdb1bbc9a804a83bd5d", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -5,9 +5,28 @@ # Installation | ||
# Summary | ||
This package contains type definitions for scroll-to-element ( https://github.com/willhoag/scroll-to-element ). | ||
This package contains type definitions for scroll-to-element (https://github.com/willhoag/scroll-to-element). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scroll-to-element | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scroll-to-element. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scroll-to-element/index.d.ts) | ||
````ts | ||
// Type definitions for scroll-to-element 2.0 | ||
// Project: https://github.com/willhoag/scroll-to-element | ||
// Definitions by: Kirill Kvashonin <https://github.com/kirillurgant> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Thu, 21 Mar 2019 22:51:49 GMT | ||
interface Options { | ||
offset: number; | ||
align?: 'top' | 'middle' | 'bottom' | undefined; | ||
ease?: string | undefined; | ||
duration?: number | undefined; | ||
} | ||
declare function scrollToElement(selector: string | HTMLElement | Element, options?: Options): void; | ||
export = scrollToElement; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 16:34:23 GMT | ||
* Dependencies: none | ||
@@ -17,2 +36,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Kirill Kvashonin <https://github.com/kirillurgant>. | ||
These definitions were written by [Kirill Kvashonin](https://github.com/kirillurgant). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3713
12813
0
36