@fastkit/visibility
Advanced tools
Comparing version 0.8.11 to 0.8.12
@@ -7,3 +7,3 @@ declare const states: readonly ["visible", "hidden"]; | ||
private _typedCallbacks; | ||
get state(): VisibilityState_2; | ||
get state(): VisibilityState; | ||
get isVisible(): boolean; | ||
@@ -18,3 +18,3 @@ get isHidden(): boolean; | ||
hidden(callback: VisibilityTypedCallback): () => void; | ||
remove(listenerOrCallback: VisibilityStateListener | VisibilityTypedCallback, targetState?: VisibilityState_2 | 'change'): void; | ||
remove(listenerOrCallback: VisibilityStateListener | VisibilityTypedCallback, targetState?: VisibilityState | 'change'): void; | ||
} | ||
@@ -24,6 +24,5 @@ | ||
declare type VisibilityState_2 = typeof states[number]; | ||
export { VisibilityState_2 as VisibilityState } | ||
export declare type VisibilityState = typeof states[number]; | ||
export declare type VisibilityStateListener = (state: VisibilityState_2, event: Event) => any; | ||
export declare type VisibilityStateListener = (state: VisibilityState, event: Event) => any; | ||
@@ -30,0 +29,0 @@ export declare type VisibilityTypedCallback = (event: Event) => any; |
{ | ||
"name": "@fastkit/visibility", | ||
"version": "0.8.11", | ||
"version": "0.8.12", | ||
"description": "@fastkit/visibility", | ||
@@ -5,0 +5,0 @@ "buildOptions": { |
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
12799
376