@stonecrop/utilities 0.7.0 → 0.7.1

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.
@@ -14,8 +14,8 @@ import { ref, watch } from 'vue';
14
14
  * (Last verified: v10.9.0 on May 2, 2024)
15
15
  *
16
16
  * @see https://v9-13-0.vueuse.org/core/useElementVisibility
17
- * @param element
18
- * @param options
17
+ * @param element - Element to track visibility for
18
+ * @param options - Configuration options (window, scrollTarget)
19
19
  */
20
20
  export function useElementVisibility(element, { window = defaultWindow, scrollTarget } = {}) {
21
21
  const elementIsVisible = ref(false);
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defaultKeypressHandlers, useKeyboardNav } from './composables/keyboard';
2
2
  /**
3
3
  * Install all utility components
4
- * @param app - Vue app instance
4
+ * @param _app - Vue app instance
5
5
  * @public
6
6
  */
7
7
  function install(_app /* options */) { }
@@ -17,8 +17,8 @@ export interface UseElementVisibilityOptions extends ConfigurableWindow {
17
17
  * (Last verified: v10.9.0 on May 2, 2024)
18
18
  *
19
19
  * @see https://v9-13-0.vueuse.org/core/useElementVisibility
20
- * @param element
21
- * @param options
20
+ * @param element - Element to track visibility for
21
+ * @param options - Configuration options (window, scrollTarget)
22
22
  */
23
23
  export declare function useElementVisibility(element: MaybeComputedElementRef, { window, scrollTarget }?: UseElementVisibilityOptions): import("vue").Ref<boolean, boolean>;
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -3,7 +3,7 @@ import { defaultKeypressHandlers, useKeyboardNav } from './composables/keyboard'
3
3
  export type * from './types';
4
4
  /**
5
5
  * Install all utility components
6
- * @param app - Vue app instance
6
+ * @param _app - Vue app instance
7
7
  * @public
8
8
  */
9
9
  declare function install(_app: App): void;
@@ -10,7 +10,7 @@ export declare const defaultKeypressHandlers: KeypressHandlers;
10
10
 
11
11
  /**
12
12
  * Install all utility components
13
- * @param app - Vue app instance
13
+ * @param _app - Vue app instance
14
14
  * @public
15
15
  */
16
16
  export declare function install(_app: App): void;