@juggle/resize-observer
Advanced tools
Comparing version 1.0.0-rc.2 to 1.0.0
{ | ||
"name": "@juggle/resize-observer", | ||
"version": "1.0.0-rc.2", | ||
"version": "1.0.0", | ||
"description": "ResizeObserver - Based on the official draft specification", | ||
@@ -5,0 +5,0 @@ "main": "./lib/ResizeObserver.js", |
@@ -71,3 +71,6 @@ # Resize Observer Polyfill | ||
> **Warning:** The latest Resize Observer specification is not yet finalised and is subject to change. | ||
> Any drastic changes to the specification will bump the major version of this library, as there will likely be breaking changes. | ||
## Switching between native and polyfilled versions | ||
@@ -113,3 +116,9 @@ | ||
## Notification Schedule | ||
Notifications are scheduled after all other changes have occured and all other animation callbacks have been called. This allows the observer callback to get the most accurate size of an element, as no other changes should occur in the same frame. | ||
![resize observer notification schedule](https://user-images.githubusercontent.com/1519516/52825568-20433500-30b5-11e9-9854-4cee13a09a7d.jpg) | ||
## How are differences detected? | ||
@@ -133,2 +142,3 @@ | ||
## Features | ||
@@ -144,2 +154,3 @@ | ||
## Limitations | ||
@@ -155,4 +166,17 @@ | ||
## Tested Browsers | ||
| Browser Name | Desktop | Mobile | | ||
| ---------------- | ------- | ------ | | ||
| Chrome | ✓ | ✓ | | ||
| Safari | ✓ | ✓ | | ||
| Firefox | ✓ | ✓ | | ||
| Opera | ✓ | ✓ | | ||
| Opera Mini | N/A | ✓ | | ||
| Samsung Internet | N/A | ✓ | | ||
| IE11 | ✓ | N/A | | ||
| Edge | ✓ | ✓ | | ||
## TypeScript support | ||
This library is written in TypeScript, however, it's compiled into JavaScript during release. Definition files are included in the package and should be picked up automatically to re-enable support in TypeScript projects. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
44034
0
178