element-position
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -0,20 +1,10 @@ | ||
import { Coordinates } from "type/coordinates"; | ||
import { PositionRect } from "type/position-rect"; | ||
declare namespace ElementPosition { | ||
function getNestedOffset(el: HTMLElement): { | ||
top: number, | ||
left: number, | ||
right: number, | ||
bottom: number | ||
} | ||
function getNestedScroll(el: HTMLElement): { | ||
x: number, | ||
y: number | ||
} | ||
function getCoordinates(el: HTMLElement): { | ||
top: number, | ||
left: number, | ||
right: number, | ||
bottom: number | ||
} | ||
function getNestedOffset(el: HTMLElement): PositionRect | ||
function getNestedScroll(el: HTMLElement): Coordinates | ||
function getCoordinates(el: HTMLElement): PositionRect | ||
} | ||
export = ElementPosition; |
{ | ||
"name": "element-position", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "Calculates the position of the DOM.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.min.js", |
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
10060
11
75