@types/lozad
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for lozad 1.1 | ||
// Type definitions for lozad 1.2 | ||
// Project: https://github.com/ApoorvSaxena/lozad.js | ||
@@ -10,3 +10,4 @@ // Definitions by: York Yao <https://github.com/plantain-00> | ||
threshold?: number; | ||
load?(element: HTMLElement | HTMLCanvasElement): void; | ||
load?(element: Element): void; | ||
loaded?(element: Element): void; | ||
} | ||
@@ -16,4 +17,7 @@ | ||
observe(): void; | ||
triggerLoad(element: Element): void; | ||
} | ||
type Selector = string | Element | HTMLCollectionOf<Element> | NodeListOf<Element>; | ||
const prototype: { | ||
@@ -23,3 +27,3 @@ }; | ||
declare function lozad(selector?: string, options?: lozad.Option): lozad.Observer; | ||
declare function lozad(selector?: lozad.Selector, options?: lozad.Option): lozad.Observer; | ||
@@ -26,0 +30,0 @@ export as namespace lozad; |
{ | ||
"name": "@types/lozad", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "TypeScript definitions for lozad", | ||
@@ -14,10 +14,11 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "43714690a906f2302344fe0de877a667658c5838c74785ccf6c4e9b7c9f5682f", | ||
"typesPublisherContentHash": "0e764477c783373c85a1e2d570df0885da13e7fde36ac134f40fac79767fb1a0", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lozad | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lozad | ||
Additional Details | ||
* Last updated: Wed, 29 Nov 2017 01:09:44 GMT | ||
* Last updated: Sat, 19 Jan 2019 01:10:40 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: lozad |
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
3080
22