Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/scroll-to-element

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/scroll-to-element - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

scroll-to-element/index.d.ts

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc