vueuse-functions
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVueUse Functions
VueUse 函数
This skill is a decision-and-implementation guide for VueUse composables in Vue.js / Nuxt projects. It maps requirements to the most suitable VueUse function, applies the correct usage pattern, and prefers composable-based solutions over bespoke code to keep implementations concise, maintainable, and performant.
本指南是针对Vue.js / Nuxt项目中VueUse组合式函数的决策与实现参考。它将需求映射到最合适的VueUse函数,应用正确的使用模式,优先选择基于组合式函数的解决方案而非自定义代码,以保持实现简洁、可维护且高性能。
When to Apply
应用场景
- Apply this skill whenever assisting user development work in Vue.js / Nuxt.
- Always check first whether a VueUse function can implement the requirement.
- Prefer VueUse composables over custom code to improve readability, maintainability, and performance.
- Map requirements to the most appropriate VueUse function and follow the function’s invocation rule.
- Please refer to the field in the below functions table. For example:
Invocation- : Use automatically when applicable.
AUTO - : Use only if the user already installed the required external dependency; otherwise reconsider, and ask to install only if truly needed.
EXTERNAL - : Use only when explicitly requested by the user.
EXPLICIT_ONLY
NOTE User instructions in the prompt ormay override a function’s defaultAGENTS.mdrule.Invocation
- 在协助用户进行Vue.js / Nuxt开发工作时,均可应用本指南。
- 始终优先检查是否可以使用VueUse函数来实现需求。
- 优先使用VueUse组合式函数而非自定义代码,以提升可读性、可维护性和性能。
- 将需求映射到最适合的VueUse函数,并遵循该函数的调用规则。
- 请参考下方函数表格中的字段。例如:
Invocation- : 适用时自动使用。
AUTO - : 仅当用户已安装所需外部依赖时使用;否则重新考虑,仅在确实需要时要求用户安装。
EXTERNAL - : 仅在用户明确要求时使用。
EXPLICIT_ONLY
注意 提示中的用户指令或可能会覆盖函数的默认AGENTS.md规则。Invocation
Functions
函数列表
All functions listed below are part of the VueUse library, each section categorizes functions based on their functionality.
IMPORTANT: Each function entry includes a short and a detailed . When using any function, always consult the corresponding document in for Usage details and Type Declarations.
DescriptionReference./references以下所有函数均属于VueUse库,各部分按功能对函数进行分类。
重要提示:每个函数条目包含简短的和详细的。使用任何函数时,请务必查阅中的对应文档以获取使用细节和类型声明。
描述参考文档./referencesState
状态管理
| Function | Description | Invocation |
|---|---|---|
| Keep states in the global scope to be reusable across Vue instances | AUTO |
| Create global state that can be injected into components | AUTO |
| Make a composable function usable with multiple Vue instances | AUTO |
| Extended | AUTO |
| Extended | AUTO |
| Reactive async state | AUTO |
| Shorthand for | AUTO |
| Records the timestamp of the last change | AUTO |
| Reactive LocalStorage | AUTO |
| Manually track the change history of a ref when the using calls | AUTO |
| Track the change history of a ref | AUTO |
| Reactive SessionStorage | AUTO |
| Create a reactive ref that can be used to access & modify LocalStorage or SessionStorage | AUTO |
| Reactive Storage in with async support | AUTO |
| Shorthand for | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 将状态保存在全局作用域中,以便在多个Vue实例间复用 | AUTO |
| 创建可注入到组件中的全局状态 | AUTO |
| 使组合式函数可在多个Vue实例中使用 | AUTO |
| 扩展 | AUTO |
| 扩展 | AUTO |
| 响应式异步状态 | AUTO |
| 带防抖过滤的 | AUTO |
| 记录最后一次更改的时间戳 | AUTO |
| 响应式LocalStorage | AUTO |
| 当用户调用 | AUTO |
| 跟踪ref的更改历史 | AUTO |
| 响应式SessionStorage | AUTO |
| 创建可用于访问和修改LocalStorage或SessionStorage的响应式ref | AUTO |
| 支持异步的响应式存储 | AUTO |
| 带节流过滤的 | AUTO |
Elements
元素操作
| Function | Description | Invocation |
|---|---|---|
| Reactive | AUTO |
| Reactively track | AUTO |
| Make elements draggable | AUTO |
| Create a zone where files can be dropped | AUTO |
| Reactive bounding box of an HTML element | AUTO |
| Reactive size of an HTML element | AUTO |
| Tracks the visibility of an element within the viewport | AUTO |
| Detects that a target element's visibility | AUTO |
| Reactive mouse position related to an element | AUTO |
| Watch for changes being made to the DOM tree | AUTO |
| Get parent element of the given element | AUTO |
| Reports changes to the dimensions of an Element's content or the border-box | AUTO |
| Reactively track window focus with | AUTO |
| Reactive window scroll | AUTO |
| Reactive window size | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 响应式 | AUTO |
| 响应式跟踪 | AUTO |
| 使元素可拖拽 | AUTO |
| 创建可放置文件的区域 | AUTO |
| HTML元素的响应式边界框 | AUTO |
| HTML元素的响应式尺寸 | AUTO |
| 跟踪元素在视口中的可见性 | AUTO |
| 检测目标元素的可见性 | AUTO |
| 相对于元素的响应式鼠标位置 | AUTO |
| 监听DOM树的更改 | AUTO |
| 获取给定元素的父元素 | AUTO |
| 报告元素内容或边框盒尺寸的变化 | AUTO |
| 通过 | AUTO |
| 响应式窗口滚动 | AUTO |
| 响应式窗口尺寸 | AUTO |
Browser
浏览器API封装
| Function | Description | Invocation |
|---|---|---|
| Reactive Web Bluetooth API | AUTO |
| Reactive viewport breakpoints | AUTO |
| Reactive BroadcastChannel API | AUTO |
| Reactive browser location | AUTO |
| Reactive Clipboard API | AUTO |
| Reactive Clipboard API | AUTO |
| Reactive color mode (dark / light / customs) with auto data persistence | AUTO |
| Manipulate CSS variables | AUTO |
| Reactive dark mode with auto data persistence | AUTO |
| Use EventListener with ease | AUTO |
| Reactive EyeDropper API | AUTO |
| Reactive favicon | AUTO |
| Open file dialog with ease | AUTO |
| Create and read and write local files with FileSystemAccessAPI | AUTO |
| Reactive Fullscreen API | AUTO |
| Provides reactive bindings for the Gamepad API | AUTO |
| Reactive load an image in the browser | AUTO |
| Reactive media controls for both | AUTO |
| Reactive Media Query | AUTO |
| Reactive Memory Info | AUTO |
| Reactive URL representing an object | AUTO |
| Observe performance metrics | AUTO |
| Reactive Permissions API | AUTO |
| Reactive prefers-color-scheme media query | AUTO |
| Reactive prefers-contrast media query | AUTO |
| Reactive dark theme preference | AUTO |
| Reactive Navigator Languages | AUTO |
| Reactive prefers-reduced-motion media query | AUTO |
| Reactive prefers-reduced-transparency media query | AUTO |
| Reactive Screen Orientation API | AUTO |
| Reactive | AUTO |
| Creates a script tag | AUTO |
| Reactive Web Share API | AUTO |
| Used to set a global viewport width which will be used when rendering SSR components that rely on the viewport width like | AUTO |
| Inject reactive | AUTO |
| Automatically update the height of a textarea depending on the content | AUTO |
| Reactive dir of the element's text | AUTO |
| Reactive document title | AUTO |
| Reactive URLSearchParams | AUTO |
| Reactive Vibration API | AUTO |
| Reactive Screen Wake Lock API | AUTO |
| Reactive Notification | AUTO |
| Simple Web Workers registration and communication | AUTO |
| Run expensive functions without blocking the UI | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 响应式Web Bluetooth API | AUTO |
| 响应式视口断点 | AUTO |
| 响应式BroadcastChannel API | AUTO |
| 响应式浏览器位置 | AUTO |
| 响应式Clipboard API | AUTO |
| 响应式Clipboard API | AUTO |
| 响应式颜色模式(深色/浅色/自定义),支持自动数据持久化 | AUTO |
| 操作CSS变量 | AUTO |
| 响应式深色模式,支持自动数据持久化 | AUTO |
| 便捷使用EventListener | AUTO |
| 响应式EyeDropper API | AUTO |
| 响应式网站图标 | AUTO |
| 便捷打开文件对话框 | AUTO |
| 通过FileSystemAccessAPI创建、读取和写入本地文件 | AUTO |
| 响应式Fullscreen API | AUTO |
| 为Gamepad API提供响应式绑定 | AUTO |
| 在浏览器中响应式加载图片 | AUTO |
| 针对 | AUTO |
| 响应式媒体查询 | AUTO |
| 响应式内存信息 | AUTO |
| 表示对象的响应式URL | AUTO |
| 监控性能指标 | AUTO |
| 响应式Permissions API | AUTO |
| 响应式prefers-color-scheme媒体查询 | AUTO |
| 响应式prefers-contrast媒体查询 | AUTO |
| 响应式深色主题偏好 | AUTO |
| 响应式Navigator Languages | AUTO |
| 响应式prefers-reduced-motion媒体查询 | AUTO |
| 响应式prefers-reduced-transparency媒体查询 | AUTO |
| 响应式Screen Orientation API | AUTO |
| 响应式 | AUTO |
| 创建script标签 | AUTO |
| 响应式Web Share API | AUTO |
| 用于设置全局视口宽度,在渲染依赖视口宽度的SSR组件(如 | AUTO |
| 在head中注入响应式 | AUTO |
| 根据内容自动更新文本框高度 | AUTO |
| 元素文本的响应式dir属性 | AUTO |
| 响应式文档标题 | AUTO |
| 响应式URLSearchParams | AUTO |
| 响应式Vibration API | AUTO |
| 响应式Screen Wake Lock API | AUTO |
| 响应式Notification | AUTO |
| 便捷注册Web Workers并进行通信 | AUTO |
| 在不阻塞UI的情况下运行耗时函数 | AUTO |
Sensors
传感器与交互
| Function | Description | Invocation |
|---|---|---|
| Listen for clicks outside of an element | AUTO |
| Fires when the element or any element containing it is removed | AUTO |
| Listen for keyboard keystrokes | AUTO |
| Listen for a long press on an element | AUTO |
| Fires when users start typing on non-editable elements | AUTO |
| Reactive Battery Status API | AUTO |
| Reactive DeviceMotionEvent | AUTO |
| Reactive DeviceOrientationEvent | AUTO |
| Reactively track | AUTO |
| Reactive enumerateDevices listing available input/output devices | AUTO |
| Reactive | AUTO |
| Reactive element by point | AUTO |
| Reactive element's hover state | AUTO |
| Reactive utility to track or set the focus state of a DOM element | AUTO |
| Reactive utility to track if an element or one of its decendants has focus | AUTO |
| Reactive FPS (frames per second) | AUTO |
| Reactive Geolocation API | AUTO |
| Tracks whether the user is being inactive | AUTO |
| Infinite scrolling of the element | AUTO |
| Reactive Modifier State | AUTO |
| Reactive keys pressed state | AUTO |
| Reactive mouse position | AUTO |
| Reactive mouse pressing state | AUTO |
| Reactive navigator.language | AUTO |
| Reactive Network status | AUTO |
| Reactive online state | AUTO |
| Reactive state to show whether the mouse leaves the page | AUTO |
| Create parallax effect easily | AUTO |
| Reactive pointer state | AUTO |
| Reactive pointer lock | AUTO |
| Reactive swipe detection based on PointerEvents | AUTO |
| Reactive scroll position and state | AUTO |
| Lock scrolling of the element | AUTO |
| Reactive SpeechRecognition | AUTO |
| Reactive SpeechSynthesis | AUTO |
| Reactive swipe detection based on | AUTO |
| Reactively track user text selection based on | AUTO |
| Reactive | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 监听元素外部的点击事件 | AUTO |
| 当元素或其包含的任何元素被移除时触发 | AUTO |
| 监听键盘按键事件 | AUTO |
| 监听元素上的长按事件 | AUTO |
| 当用户在非可编辑元素上开始输入时触发 | AUTO |
| 响应式Battery Status API | AUTO |
| 响应式DeviceMotionEvent | AUTO |
| 响应式DeviceOrientationEvent | AUTO |
| 响应式跟踪 | AUTO |
| 响应式enumerateDevices,列出可用的输入/输出设备 | AUTO |
| 响应式 | AUTO |
| 响应式获取指定坐标处的元素 | AUTO |
| 元素的响应式悬停状态 | AUTO |
| 用于跟踪或设置DOM元素焦点状态的响应式工具 | AUTO |
| 响应式跟踪元素或其后代是否获得焦点 | AUTO |
| 响应式帧率(每秒帧数) | AUTO |
| 响应式Geolocation API | AUTO |
| 跟踪用户是否处于非活跃状态 | AUTO |
| 元素的无限滚动 | AUTO |
| 响应式修饰键状态 | AUTO |
| 响应式按键按下状态 | AUTO |
| 响应式鼠标位置 | AUTO |
| 响应式鼠标按下状态 | AUTO |
| 响应式navigator.language | AUTO |
| 响应式网络状态 | AUTO |
| 响应式在线状态 | AUTO |
| 响应式状态,指示鼠标是否离开页面 | AUTO |
| 便捷创建视差效果 | AUTO |
| 响应式指针状态 | AUTO |
| 响应式指针锁定 | AUTO |
| 基于PointerEvents的响应式滑动检测 | AUTO |
| 响应式滚动位置和状态 | AUTO |
| 锁定元素的滚动 | AUTO |
| 响应式SpeechRecognition | AUTO |
| 响应式SpeechSynthesis | AUTO |
| 基于 | AUTO |
| 响应式跟踪用户的文本选择,基于 | AUTO |
| 响应式 | AUTO |
Network
网络相关
| Function | Description | Invocation |
|---|---|---|
| An EventSource or Server-Sent-Events instance opens a persistent connection to an HTTP server | AUTO |
| Reactive Fetch API provides the ability to abort requests | AUTO |
| Reactive WebSocket client | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| EventSource或Server-Sent-Events实例,与HTTP服务器建立持久连接 | AUTO |
| 响应式Fetch API,支持中止请求 | AUTO |
| 响应式WebSocket客户端 | AUTO |
Animation
动画相关
| Function | Description | Invocation |
|---|---|---|
| Reactive Web Animations API | AUTO |
| Reactive counter increases on every interval | AUTO |
| Wrapper for | AUTO |
| Reactive current Date instance | AUTO |
| Call function on every | AUTO |
| Update value after a given time with controls | AUTO |
| Wrapper for | AUTO |
| Reactive current timestamp | AUTO |
| Transition between values | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 响应式Web Animations API | AUTO |
| 响应式计数器,每隔指定时间递增 | AUTO |
| 带控制功能的 | AUTO |
| 响应式当前Date实例 | AUTO |
| 在每个 | AUTO |
| 带控制功能的延迟更新值 | AUTO |
| 带控制功能的 | AUTO |
| 响应式当前时间戳 | AUTO |
| 值之间的过渡动画 | AUTO |
Component
组件工具
| Function | Description | Invocation |
|---|---|---|
| Combine computed and inject | AUTO |
| Define and reuse template inside the component scope | AUTO |
| Template as Promise | AUTO |
| Shorthand for binding ref to template element | AUTO |
| Safe | AUTO |
| Safe | AUTO |
| Safe | AUTO |
| Safe | AUTO |
| Safe | AUTO |
| Retrieves the underlying DOM element from a Vue ref or component instance | AUTO |
| Get the DOM element of current component as a ref | AUTO |
| Mounted state in ref | AUTO |
| Shorthand for binding refs to template elements and components inside | AUTO |
| Create virtual lists with ease | AUTO |
| Shorthand for v-model binding | AUTO |
| Shorthand for props v-model binding | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 结合computed和inject | AUTO |
| 在组件作用域内定义并复用模板 | AUTO |
| 将模板作为Promise使用 | AUTO |
| 将ref绑定到模板元素的简写形式 | AUTO |
| 安全的 | AUTO |
| 安全的 | AUTO |
| 安全的 | AUTO |
| 安全的 | AUTO |
| 安全的 | AUTO |
| 从Vue ref或组件实例中获取底层DOM元素 | AUTO |
| 获取当前组件的DOM元素作为ref | AUTO |
| 组件挂载状态的ref | AUTO |
| 在 | AUTO |
| 便捷创建虚拟列表 | AUTO |
| v-model绑定的简写形式 | AUTO |
| 多props的v-model绑定简写形式 | AUTO |
Watch
监听相关
| Function | Description | Invocation |
|---|---|---|
| Promised one-time watch for changes | AUTO |
| Watch for an array with additions and removals | AUTO |
| | AUTO |
| Debounced watch | AUTO |
| Shorthand for watching value with | AUTO |
| Ignorable watch | AUTO |
| Shorthand for watching value with | AUTO |
| Shorthand for watching value with | AUTO |
| Pausable watch | AUTO |
| Throttled watch | AUTO |
| Watch that can be triggered manually | AUTO |
| | AUTO |
| Shorthand for watching value to be truthy | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 基于Promise的一次性变更监听 | AUTO |
| 监听数组的添加和移除操作 | AUTO |
| 限制触发次数的 | AUTO |
| 带防抖的watch | AUTO |
| 深度监听的简写形式( | AUTO |
| 可忽略的watch | AUTO |
| 立即触发的watch简写形式( | AUTO |
| 仅触发一次的watch简写形式( | AUTO |
| 可暂停的watch | AUTO |
| 带节流的watch | AUTO |
| 可手动触发的watch | AUTO |
| 带额外事件过滤控制的 | AUTO |
| 监听值变为真值的简写形式 | AUTO |
Reactivity
响应式工具
| Function | Description | Invocation |
|---|---|---|
| Computed for async functions | AUTO |
| Eager computed without lazy evaluation | AUTO |
| Explicitly define the dependencies of computed | AUTO |
| Returns a | AUTO |
| Add extra attributes to Ref | AUTO |
| Converts plain functions into reactive functions | AUTO |
| Apply | AUTO |
| Computed reactive object | AUTO |
| Reactively omit fields from a reactive object | AUTO |
| Reactively pick fields from a reactive object | AUTO |
| A ref which will be reset to the default value after some time | AUTO |
| Debounce execution of a ref value | AUTO |
| Apply default value to a ref | AUTO |
| Create a ref with manual reset functionality | AUTO |
| Throttle changing of a ref value | AUTO |
| Fine-grained controls over ref and its reactivity | AUTO |
| Two-way refs synchronization | AUTO |
| Keep target refs in sync with a source ref | AUTO |
| Converts ref to reactive | AUTO |
| Normalize value/ref/getter to | EXPLICIT_ONLY |
| Extended | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 针对异步函数的computed | AUTO |
| 非惰性计算的eager computed | AUTO |
| 显式定义依赖的computed | AUTO |
| 根据 | AUTO |
| 为Ref添加额外属性 | AUTO |
| 将普通函数转换为响应式函数 | AUTO |
| 对对象应用 | AUTO |
| 响应式对象的computed | AUTO |
| 从响应式对象中响应式忽略指定字段 | AUTO |
| 从响应式对象中响应式选择指定字段 | AUTO |
| 一段时间后自动重置为默认值的ref | AUTO |
| 带防抖的ref值更新 | AUTO |
| 为ref设置默认值 | AUTO |
| 创建带手动重置功能的ref | AUTO |
| 带节流的ref值更新 | AUTO |
| 对ref及其响应性进行细粒度控制 | AUTO |
| 双向ref同步 | AUTO |
| 保持目标refs与源ref同步 | AUTO |
| 将ref转换为reactive对象 | AUTO |
| 将普通值/ref/getter标准化为 | EXPLICIT_ONLY |
| 扩展的 | AUTO |
Array
数组工具
| Function | Description | Invocation |
|---|---|---|
| Reactive get array difference of two arrays | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive | AUTO |
| Reactive unique array | AUTO |
| Reactive sort array | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 响应式获取两个数组的差异 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式 | AUTO |
| 响应式数组去重 | AUTO |
| 响应式数组排序 | AUTO |
Time
时间相关
| Function | Description | Invocation |
|---|---|---|
| Wrapper for | AUTO |
| Get the formatted date according to the string of tokens passed in | AUTO |
| Reactive time ago | AUTO |
| Reactive time ago with i18n supported | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| | AUTO |
| 根据传入的令牌字符串获取格式化后的日期 | AUTO |
| 响应式相对时间(多久之前) | AUTO |
| 支持国际化的响应式相对时间 | AUTO |
Utilities
通用工具
| Function | Description | Invocation |
|---|---|---|
| Utility for creating event hooks | AUTO |
| Make a plain function accepting ref and raw values as arguments | AUTO |
| Shorthand for accessing | EXPLICIT_ONLY |
| Non-nullish checking type guard for Ref | AUTO |
| Make isomorphic destructurable for object and array at the same time | AUTO |
| Shorthand for | EXPLICIT_ONLY |
| Executes each asynchronous task sequentially and passes the current task result to the next task | AUTO |
| Reactive base64 transforming | AUTO |
| Cache a ref with a custom comparator | AUTO |
| Reactive clone of a ref | AUTO |
| Creates event hooks to support modals and confirmation dialog chains | AUTO |
| Basic counter with utility functions | AUTO |
| Cycle through a list of items | AUTO |
| Debounce execution of a function | AUTO |
| A basic event bus | AUTO |
| Cache results of functions depending on arguments and keep it reactive | AUTO |
| Reactive offset pagination | AUTO |
| Holds the previous value of a ref | AUTO |
| Provides helpers for building a multi-step wizard interface | AUTO |
| SSR compatibility | AUTO |
| Throttle execution of a function | AUTO |
| Use timeout to poll something | AUTO |
| A boolean switcher with utility functions | AUTO |
| Reactively convert a string ref to number | AUTO |
| Reactively convert a ref to string | AUTO |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 创建事件钩子的工具 | AUTO |
| 创建可接受ref和原始值作为参数的普通函数 | AUTO |
| 访问 | EXPLICIT_ONLY |
| Ref的非空检查类型守卫 | AUTO |
| 使对象同时支持对象和数组解构 | AUTO |
| | EXPLICIT_ONLY |
| 按顺序执行每个异步任务,并将当前任务结果传递给下一个任务 | AUTO |
| 响应式Base64转换 | AUTO |
| 使用自定义比较器缓存ref | AUTO |
| ref的响应式克隆 | AUTO |
| 创建事件钩子以支持模态框和确认对话框链 | AUTO |
| 带工具函数的基础计数器 | AUTO |
| 循环遍历列表项 | AUTO |
| 带防抖的函数执行 | AUTO |
| 基础事件总线 | AUTO |
| 根据参数缓存函数结果并保持响应性 | AUTO |
| 响应式偏移分页 | AUTO |
| 保存ref的前一个值 | AUTO |
| 为构建多步骤向导界面提供辅助工具 | AUTO |
| 支持SSR的 | AUTO |
| 带节流的函数执行 | AUTO |
| 使用timeout进行轮询 | AUTO |
| 带工具函数的布尔切换器 | AUTO |
| 响应式将字符串ref转换为数字 | AUTO |
| 响应式将ref转换为字符串 | AUTO |
@Electron
@Electron 相关
| Function | Description | Invocation |
|---|---|---|
| Provides ipcRenderer and all of its APIs | EXTERNAL |
| Reactive ipcRenderer.invoke API result | EXTERNAL |
| Use ipcRenderer.on with ease and ipcRenderer.removeListener automatically on unmounted | EXTERNAL |
| Reactive WebFrame zoom factor | EXTERNAL |
| Reactive WebFrame zoom level | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 提供ipcRenderer及其所有API | EXTERNAL |
| 响应式ipcRenderer.invoke API结果 | EXTERNAL |
| 便捷使用ipcRenderer.on,并在组件卸载时自动调用ipcRenderer.removeListener | EXTERNAL |
| 响应式WebFrame缩放因子 | EXTERNAL |
| 响应式WebFrame缩放级别 | EXTERNAL |
@Firebase
@Firebase 相关
| Function | Description | Invocation |
|---|---|---|
| Reactive Firebase Auth binding | EXTERNAL |
| Reactive Firestore binding | EXTERNAL |
| Reactive Firebase Realtime Database binding | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 响应式Firebase Auth绑定 | EXTERNAL |
| 响应式Firestore绑定 | EXTERNAL |
| 响应式Firebase Realtime Database绑定 | EXTERNAL |
@Head
@Head 相关
| Function | Description | Invocation |
|---|---|---|
| Create the head manager instance. | EXTERNAL |
| Update head meta tags reactively. | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 创建head管理器实例。 | EXTERNAL |
| 响应式更新head元标签。 | EXTERNAL |
@Integrations
@Integrations 相关
| Function | Description | Invocation |
|---|---|---|
| Wrapper for | EXTERNAL |
| Wrapper for | EXTERNAL |
| Reactive wrapper for | EXTERNAL |
| Wrapper for | EXTERNAL |
| Reactive instance for drauu | EXTERNAL |
| Reactive wrapper for | EXTERNAL |
| Easily implement fuzzy search using a composable with Fuse.js | EXTERNAL |
| Wrapper for | EXTERNAL |
| Wrapper for | EXTERNAL |
| Reactive wrapper for | EXTERNAL |
| Wrapper for | EXTERNAL |
| Wrapper for | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| | EXTERNAL |
| | EXTERNAL |
| | EXTERNAL |
| | EXTERNAL |
| drauu的响应式实例 | EXTERNAL |
| | EXTERNAL |
| 使用Fuse.js通过组合式函数便捷实现模糊搜索 | EXTERNAL |
| | EXTERNAL |
| | EXTERNAL |
| | EXTERNAL |
| | EXTERNAL |
| | EXTERNAL |
@Math
@Math 相关
| Function | Description | Invocation |
|---|---|---|
| Generic version of | EXTERNAL |
| Reactive numeric projection from one domain to another | EXTERNAL |
| | EXTERNAL |
| | EXTERNAL |
| | EXTERNAL |
| Reactive | EXTERNAL |
| Get the average of an array reactively | EXTERNAL |
| Reactive | EXTERNAL |
| Reactively clamp a value between two other values | EXTERNAL |
| Reactive | EXTERNAL |
| Reactive | EXTERNAL |
| Reactive | EXTERNAL |
| Reactive | EXTERNAL |
| Reactively set the precision of a number | EXTERNAL |
| Reactive numeric projection from one domain to another | EXTERNAL |
| Reactive | EXTERNAL |
| Get the sum of an array reactively | EXTERNAL |
| Reactive | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| | EXTERNAL |
| 从一个值域到另一个值域的响应式数值投影 | EXTERNAL |
| refs的 | EXTERNAL |
| ref的 | EXTERNAL |
| refs的 | EXTERNAL |
| 响应式 | EXTERNAL |
| 响应式获取数组的平均值 | EXTERNAL |
| 响应式 | EXTERNAL |
| 响应式将值限制在另外两个值之间 | EXTERNAL |
| 响应式 | EXTERNAL |
| 响应式 | EXTERNAL |
| 响应式 | EXTERNAL |
| 响应式 | EXTERNAL |
| 响应式设置数字的精度 | EXTERNAL |
| 从一个值域到另一个值域的响应式数值投影 | EXTERNAL |
| 响应式 | EXTERNAL |
| 响应式获取数组的总和 | EXTERNAL |
| 响应式 | EXTERNAL |
@Motion
@Motion 相关
| Function | Description | Invocation |
|---|---|---|
| Sync a reactive object to a target element CSS styling | EXTERNAL |
| Sync a reactive object to a target element CSS transform. | EXTERNAL |
| Putting your components in motion. | EXTERNAL |
| Access Motion Properties for a target element. | EXTERNAL |
| Handle the Variants state and selection. | EXTERNAL |
| Spring animations. | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 将响应式对象同步到目标元素的CSS样式 | EXTERNAL |
| 将响应式对象同步到目标元素的CSS变换。 | EXTERNAL |
| 为组件添加动画效果。 | EXTERNAL |
| 访问目标元素的动画属性。 | EXTERNAL |
| 处理动画变体状态和选择。 | EXTERNAL |
| 弹簧动画。 | EXTERNAL |
@Router
@Router 相关
| Function | Description | Invocation |
|---|---|---|
| Shorthand for a reactive | EXTERNAL |
| Shorthand for a reactive | EXTERNAL |
| Shorthand for a reactive | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 响应式 | EXTERNAL |
| 响应式 | EXTERNAL |
| 响应式 | EXTERNAL |
@RxJS
@RxJS 相关
| Function | Description | Invocation |
|---|---|---|
| Wrappers around RxJS's | EXTERNAL |
| Sugar function to convert a | EXTERNAL |
| Use an RxJS | EXTERNAL |
| Use an RxJS | EXTERNAL |
| Bind an RxJS | EXTERNAL |
| Use an RxJS | EXTERNAL |
| Watch the values of an RxJS | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| RxJS | EXTERNAL |
| 将 | EXTERNAL |
| 使用从一个或多个组合式函数中提取的RxJS | EXTERNAL |
| 使用RxJS | EXTERNAL |
| 将RxJS | EXTERNAL |
| 使用RxJS | EXTERNAL |
| 监听从一个或多个组合式函数中提取的RxJS | EXTERNAL |
@SchemaOrg
@SchemaOrg 相关
| Function | Description | Invocation |
|---|---|---|
| Create the schema.org manager instance. | EXTERNAL |
| Update schema.org reactively. | EXTERNAL |
| 函数 | 描述 | 调用规则 |
|---|---|---|
| 创建schema.org管理器实例。 | EXTERNAL |
| 响应式更新schema.org。 | EXTERNAL |