
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.