@webitel/ui-chats 0.1.48 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,10 +2,10 @@ import { type Ref } from 'vue';
|
|
|
2
2
|
/**
|
|
3
3
|
* @author PolinaSukhorukova-webitel
|
|
4
4
|
*
|
|
5
|
-
* Fires the callback on every resize and
|
|
6
|
-
*
|
|
5
|
+
* Fires the callback on every resize of the target element and stops
|
|
6
|
+
* either after the given timeout or on unmount.
|
|
7
7
|
*/
|
|
8
|
-
export declare const useObserveHeightUntilStable: (
|
|
8
|
+
export declare const useObserveHeightUntilStable: (target: Ref<HTMLElement | null>, callback: () => void, timeout?: number) => {
|
|
9
9
|
startObserve: () => void;
|
|
10
10
|
stopObserve: () => void;
|
|
11
11
|
};
|