You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@types/zenscroll

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/zenscroll - npm Package Compare versions

Comparing version

to
4.0.1

8

zenscroll/index.d.ts

@@ -6,3 +6,3 @@ // Type definitions for zenscroll 4.0

declare var zenScroll: ZenScroll.zenscroll;
declare const zenScroll: ZenScroll.zenscroll;
export = zenScroll;

@@ -30,1 +30,7 @@ export as namespace zenScroll;

}
declare global {
interface Window {
noZensmooth: boolean;
}
}

11

zenscroll/package.json
{
"name": "@types/zenscroll",
"version": "4.0.0",
"version": "4.0.1",
"description": "TypeScript definitions for zenscroll",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zenscroll",
"license": "MIT",

@@ -14,10 +15,12 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/zenscroll"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "cab7a5f36ef661f9c73eebdb3efc85cb2c566fdad0ecd7b590e7c16e339c9716",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "c4f2e5e96a0c883a389289e28386553a025786239e9f6d596c2f7e588dceec83",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,48 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zenscroll
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zenscroll.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zenscroll/index.d.ts)
````ts
// Type definitions for zenscroll 4.0
// Project: https://zengabor.github.io/zenscroll/
// Definitions by: Hamed Fathi <https://github.com/HamedFathi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Thu, 09 Nov 2017 15:19:58 GMT
declare const zenScroll: ZenScroll.zenscroll;
export = zenScroll;
export as namespace zenScroll;
declare namespace ZenScroll {
interface setupOption {
defaultDuration: number;
edgeOffset: number;
}
interface zenscroll {
setup(defaultDuration?: number, edgeOffset?: number): setupOption;
to(elem: HTMLElement, duration?: number, onDone?: () => void): void;
toY(targetY: number, duration?: number, onDone?: () => void): void;
intoView(elem: HTMLElement, duration?: number, onDone?: () => void): void;
center(elem: HTMLElement, duration?: number, offset?: number, onDone?: () => void): void;
stop(): void;
moving(): boolean;
getY(): number;
getTopOf(elem: HTMLElement): number;
createScroller(scrollContainer: HTMLElement, defaultDuration?: number, edgeOffset?: number): zenscroll;
}
}
declare global {
interface Window {
noZensmooth: boolean;
}
}
````
### Additional Details
* Last updated: Thu, 08 Jul 2021 22:42:26 GMT
* Dependencies: none
* Global values: zenScroll
* Global values: `zenScroll`
# Credits
These definitions were written by Hamed Fathi <https://github.com/HamedFathi>.
These definitions were written by [Hamed Fathi](https://github.com/HamedFathi).

Sorry, the diff of this file is not supported yet