@garage-panda/use-await-dom-render
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -1,3 +0,3 @@ | ||
declare type DomObserverCallback = (...args: any[]) => void; | ||
declare type DomObserverEvent = "load" | "dom-update" | "start"; | ||
export declare type DomObserverCallback = (...args: any[]) => void; | ||
export declare type DomObserverEvent = "load" | "dom-update" | "start"; | ||
declare class DomObserver { | ||
@@ -11,3 +11,3 @@ private observer; | ||
call: (event: DomObserverEvent) => void; | ||
startDomWait: (targetNode: any) => void; | ||
startDomWait: (targetNode: Node) => void; | ||
disconnect: () => void; | ||
@@ -14,0 +14,0 @@ removeListeners: () => void; |
export { default as useAwaitDomRender, StartWaitFunc, UseAwaitDomRenderResult } from "./useAwaitDomRender"; | ||
export { DomObserverCallback, DomObserverEvent } from "./DomObserver"; |
{ | ||
"name": "@garage-panda/use-await-dom-render", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "React hook that is used to await all DOM elements inside a node to be rendered", | ||
@@ -12,3 +12,4 @@ "main": "lib/index.js", | ||
"build": "tsc", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"publish-manual": "npm run build && npm publish --access public" | ||
}, | ||
@@ -15,0 +16,0 @@ "repository": { |
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
10524
122