
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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 1 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.