Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@hi-ui/alert
Advanced tools
作用于页面的内容区域的提示,非触发类信息
警示,内容提示,说明,要求,规则等阅读类信息
显示在页面局部的提示性文案
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
type | 警告提示类型 | string | 'primary' | 'warning' | 'success' | 'danger' | 'primary' |
title | 警告提示标题 | string | - | - |
content | 警告提示内容 | string | - | - |
closeable | 是否可关闭 | boolean | true | false | false |
duration | 自动关闭时间,单位为毫秒 | number | null | - | null |
名称 | 说明 | 类型 | 参数 | 返回值 |
---|---|---|---|---|
onClose | 关闭事件触发时的回调 | () => void | - | - |
参数 | 变更类型 | 变更内容 | 解决的问题 |
---|---|---|---|
closeIcon | feature | ||
showIcon | feature |
FAQs
A sub-package for @hi-ui/hiui.
The npm package @hi-ui/alert receives a total of 14 weekly downloads. As such, @hi-ui/alert popularity was classified as not popular.
We found that @hi-ui/alert demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.