
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
rox-dialog
Advanced tools
包含 默认 Dialog 组件,另外还有订制的 Dialog.Alert
, Dialog.Confirm
Dialog 的实现方式是通过Weex 中的 Mask 标签进行包装实现, 使用方式如下:
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
contentStyle | 触发元素 | Element | |
triggerType | 触发行为,可选 hover/click | string | hover |
align | 气泡框位置,可选 t,r,b,l,tl,tr,rt,rb,bl,br,lt,lb | string | t |
closable | 是否有关闭按钮 | bool | true |
visible | 用于手动控制浮层显隐 | boolean | false |
onClose | 关闭时触发回调 | function | |
afterClose | 关闭后触发回调 | function | false |
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
titleText | 标题文字 | String | 温馨提醒 |
disabledTitle | 禁用标题 | Boolean | false |
okText | 确认文字 | String | 确定 |
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
titleText | 标题文字 | String | 温馨提醒 |
okText | 确认文案 | String | 确定 |
cancelText | 取消文案 | String | 取消 |
通过 ref 的方式获取当前 组件,调用 内部 的方法,控制 对话框 的展示与隐藏
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
show | 展示对话框 | Function | |
hide | 隐藏对话框 | Function |
FAQs
--- subtitle: 对话框 group: General category: UI chinese: 对话框 ---
The npm package rox-dialog receives a total of 3 weekly downloads. As such, rox-dialog popularity was classified as not popular.
We found that rox-dialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.