vue-amazing-ui 1.5.2 → 1.5.4

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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  *该组件库采用 `Vue@3.4.36`+ `TypeScript@5.5.4` + `Vite@5.4.0` + `Less@4.2.0` 实现!*<br/>
4
4
  *所有组件样式 `CSS` 均使用 `box-sizing: border-box;` 模式!*<br/>
5
- *目前共有 `61` 个常用基础 `UI` 组件,以及 `15` 个常用工具函数,并且持续探索优化更新中...!*<br/>
5
+ *目前共有 `61` 个常用基础 `UI` 组件,以及 `16` 个常用工具函数,并且持续探索优化更新中...!*<br/>
6
6
  *开箱即用!*
7
7
 
8
8
  ## Document & Online preview
@@ -64,7 +64,8 @@ import {
64
64
  useScrollDirection,
65
65
  useFps,
66
66
  useMediaQuery,
67
- useResizeObserver
67
+ useResizeObserver,
68
+ useSlotsExist
68
69
  } from 'vue-amazing-ui'
69
70
  </script>
70
71
  ```
@@ -156,3 +157,4 @@ useScrollDirection | 实时监测页面滚动方向 | (throttleDelay: 100) => ob
156
157
  useFps | 实时监测浏览器刷新率 `FPS` | () => object
157
158
  useMediaQuery | 使用媒体查询来判断当前环境是否符合指定的媒体查询条件 | (mediaQuery: string) => object
158
159
  useResizeObserver | 使用 `ResizeObserver` 观察 `DOM` 元素尺寸变化 | (target: Ref &#124; Ref[] &#124; HTMLElement &#124; HTMLElement[], callback: ResizeObserverCallback, options = {}) => object
160
+ useSlotsExist | 监听给定名称或名称数组的插槽是否存在,支持监听单个插槽或一组插槽的存在 | (slotsName: string = 'default') => Reactive &#124; Ref\<boolean>