@juggle/resize-observer
Advanced tools
Comparing version 1.0.0-rc.0 to 1.0.0-rc.1
import { ResizeObserverCallback } from './ResizeObserverCallback'; | ||
import { ResizeObserverOptions } from './ResizeObserverOptions'; | ||
export default class ResizeObserver { | ||
declare class ResizeObserver { | ||
constructor(callback: ResizeObserverCallback); | ||
@@ -10,2 +10,3 @@ observe(target: Element, options?: ResizeObserverOptions): void; | ||
} | ||
export default ResizeObserver; | ||
export { ResizeObserver }; |
@@ -5,3 +5,3 @@ import { ResizeObserverController } from './ResizeObserverController'; | ||
const DPPB = ResizeObserverBoxOptions.DEVICE_PIXEL_BORDER_BOX; | ||
export default class ResizeObserver { | ||
class ResizeObserver { | ||
constructor(callback) { | ||
@@ -44,2 +44,3 @@ if (arguments.length === 0) { | ||
} | ||
export default ResizeObserver; | ||
export { ResizeObserver }; |
@@ -7,3 +7,3 @@ import { ResizeObserver } from './ResizeObserver'; | ||
declare const process: () => boolean; | ||
export default class ResizeObserverController { | ||
declare class ResizeObserverController { | ||
static connect(resizeObserver: ResizeObserver, callback: ResizeObserverCallback): void; | ||
@@ -10,0 +10,0 @@ static observe(resizeObserver: ResizeObserver, target: Element, options?: ResizeObserverOptions): void; |
@@ -37,3 +37,3 @@ import { scheduler } from './utils/scheduler'; | ||
}; | ||
export default class ResizeObserverController { | ||
class ResizeObserverController { | ||
static connect(resizeObserver, callback) { | ||
@@ -40,0 +40,0 @@ const detail = new ResizeObserverDetail(resizeObserver, callback); |
import { ResizeObserverBoxOptions } from './ResizeObserverBoxOptions'; | ||
export default interface ResizeObserverOptions { | ||
interface ResizeObserverOptions { | ||
box: ResizeObserverBoxOptions | undefined; | ||
} | ||
export { ResizeObserverOptions }; |
{ | ||
"name": "@juggle/resize-observer", | ||
"version": "1.0.0-rc.0", | ||
"version": "1.0.0-rc.1", | ||
"description": "ResizeObserver - Based on the official draft specification", | ||
@@ -5,0 +5,0 @@ "main": "./lib/ResizeObserver.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
41665
589