@types/angular-scroll
Advanced tools
| /// <reference types="angular" /> | ||
| declare namespace duScroll { | ||
| /** | ||
| * Extends the angular.element object returned by the $document service with a few jQuery like functions. | ||
| * see https://github.com/oblador/angular-scroll#angularelement-scroll-api | ||
| */ | ||
| interface IDocumentService extends ng.IDocumentService { | ||
| duScrollTo(left: number, top: number): void; | ||
| duScrollTo(left: number, top: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollTo(element: ng.IAugmentedJQuery, offset?: number): void; | ||
| duScrollTo(element: ng.IAugmentedJQuery, offset: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollToElement(element: ng.IAugmentedJQuery, offset?: number): void; | ||
| duScrollToElement(element: ng.IAugmentedJQuery, offset: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollToElementAnimated(element: ng.IAugmentedJQuery, offset?: number): ng.IPromise<void>; | ||
| duScrollToElementAnimated(element: ng.IAugmentedJQuery, offset: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollTop(top: number): void; | ||
| duScrollTop(top: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollTopAnimated(top: number): ng.IPromise<void>; | ||
| duScrollTopAnimated(top: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollLeft(left: number): void; | ||
| duScrollLeft(left: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollLeftAnimated(left: number): ng.IPromise<void>; | ||
| duScrollLeftAnimated(left: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollTop(): number; | ||
| duScrollLeft(): number; | ||
| } | ||
| } |
@@ -1,45 +0,11 @@ | ||
| // Type definitions for angular-scroll | ||
| // Type definitions for angular-scroll 1.0 | ||
| // Project: https://github.com/oblador/angular-scroll | ||
| // Definitions by: Sam Herrmann <https://github.com/samherrmann> | ||
| // xemlock <https://github.com/xemlock> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| // TypeScript Version: 2.3 | ||
| /// <reference path="./angular-scroll.d.ts" /> | ||
| /// <reference types="angular" /> | ||
| declare namespace duScroll { | ||
| /** | ||
| * Extends the angular.element object returned by the $document sercive with a few jQuery like functions. | ||
| * see https://github.com/oblador/angular-scroll#angularelement-scroll-api | ||
| */ | ||
| interface IDocumentService extends ng.IDocumentService { | ||
| duScrollTo(left: number, top: number): void; | ||
| duScrollTo(left: number, top: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollTo(element: ng.IAugmentedJQuery, offset?: number): void; | ||
| duScrollTo(element: ng.IAugmentedJQuery, offset: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollToElement(element: ng.IAugmentedJQuery, offset?: number): void; | ||
| duScrollToElement(element: ng.IAugmentedJQuery, offset: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollToElementAnimated(element: ng.IAugmentedJQuery, offset?: number): ng.IPromise<void>; | ||
| duScrollToElementAnimated(element: ng.IAugmentedJQuery, offset: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollTop(top: number): void; | ||
| duScrollTop(top: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollTopAnimated(top: number): ng.IPromise<void>; | ||
| duScrollTopAnimated(top: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollLeft(left: number): void; | ||
| duScrollLeft(left: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollLeftAnimated(left: number): ng.IPromise<void>; | ||
| duScrollLeftAnimated(left: number, duration: number, easing?: Function): ng.IPromise<void>; | ||
| duScrollTop(): number; | ||
| duScrollLeft(): number; | ||
| } | ||
| } | ||
| declare const _: 'duScroll'; | ||
| export = _; |
| 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/angular-scroll", | ||
| "version": "0.0.31", | ||
| "version": "1.0.0", | ||
| "description": "TypeScript definitions for angular-scroll", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-scroll", | ||
| "license": "MIT", | ||
@@ -9,9 +10,17 @@ "contributors": [ | ||
| "name": "Sam Herrmann", | ||
| "url": "https://github.com/samherrmann" | ||
| "url": "https://github.com/samherrmann", | ||
| "githubUsername": "samherrmann" | ||
| }, | ||
| { | ||
| "name": "xemlock", | ||
| "url": "https://github.com/xemlock", | ||
| "githubUsername": "xemlock" | ||
| } | ||
| ], | ||
| "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/angular-scroll" | ||
| }, | ||
@@ -22,5 +31,4 @@ "scripts": {}, | ||
| }, | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "0e8a4dfa187c860800be3258155ba710437315dce65ca8bf50f21af891e9aa15", | ||
| "typeScriptVersion": "2.3" | ||
| "typesPublisherContentHash": "072d38238010adf670fbe38b30b22014596580a37f7111d2826067fc0352f509", | ||
| "typeScriptVersion": "3.8" | ||
| } |
@@ -8,10 +8,10 @@ # Installation | ||
| # Details | ||
| Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-scroll | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-scroll. | ||
| Additional Details | ||
| * Last updated: Thu, 15 Jun 2017 20:04:23 GMT | ||
| * Dependencies: angular | ||
| ### Additional Details | ||
| * Last updated: Sun, 16 Jan 2022 23:01:24 GMT | ||
| * Dependencies: [@types/angular](https://npmjs.com/package/@types/angular) | ||
| * Global values: none | ||
| # Credits | ||
| These definitions were written by Sam Herrmann <https://github.com/samherrmann>. | ||
| These definitions were written by [Sam Herrmann](https://github.com/samherrmann), and [xemlock](https://github.com/xemlock). |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4951
12.52%5
25%36
12.5%0
-100%