Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@xsyx/hanzo-button
Advanced tools
各个按钮
<hanzo-button>按钮</hanzo-button>
参数 | 说明 | 类型 | 可选值 | 默认值 | 可选性 |
---|---|---|---|---|---|
type | 按钮类型 | String | primary,warn,info,error,success,outline | v0.1.0 | |
inline | 是否为行内元素 | Boolean | false | v0.1.0 | |
size | 按钮大小 | String | large, small | v0.1.0 | |
shape | 按钮形状 | String | circle,square | circle | v0.1.0 |
disabled | 禁用状态 | Boolean | false | v0.1.0 | |
loading | 是否加载中 | Boolean | false | v0.1.0 | |
open-type | 微信开放能力 | String | - | v0.1.0 | |
noMargin | 是否有边距 | Boolean | - | v0.1.1 |
名称 | 参数 | 说明 | 备注 |
---|---|---|---|
onTap | 按钮在可用状态被点击时触发 | ||
onGetUserInfo | 用户点击该按钮时,会返回获取到的用户信息 | ||
onContact | 客服消息回调 | ||
onGetPhoneNumber | 获取用户手机号回调 | ||
onError | 当使用开放能力时,发生错误的回调 |
FAQs
The npm package @xsyx/hanzo-button receives a total of 0 weekly downloads. As such, @xsyx/hanzo-button popularity was classified as not popular.
We found that @xsyx/hanzo-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.