🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@xsyx/hanzo-goods-action-button

Package Overview
Dependencies
Maintainers
12
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xsyx/hanzo-goods-action-button

商品导航按钮组件

latest
npmnpm
Version
0.1.4
Version published
Maintainers
12
Created
Source

GoodsAction

changelog

v0.1.3

  • 样式微调

v0.1.2

  • 样式覆盖问题

v0.1.1

  • 有tips的按钮,增加单击事件

v0.1.0

  • 组件初始化

参数 props

参数说明类型可选值默认值可选性
type按钮类型Stringprimary,warn,info,error,success,outlinev0.1.0
inline是否为行内元素Booleanfalsev0.1.0
size按钮大小Stringlarge, smallv0.1.0
shape按钮形状Stringcircle,squarecirclev0.1.0
disabled禁用状态Booleanfalsev0.1.0
loading是否加载中Booleanfalsev0.1.0
open-type微信开放能力String-v0.1.0
noMargin是否有边距Boolean-v0.1.0
isPresell是否售罄Booleanfalsev0.1.0
hasRightBor是否有右边界Booleanfalsev0.1.0

事件 event

名称参数说明备注
onTap按钮在可用状态被点击时触发
onGetUserInfo用户点击该按钮时,会返回获取到的用户信息
onContact客服消息回调
onGetPhoneNumber获取用户手机号回调
onError当使用开放能力时,发生错误的回调

FAQs

Package last updated on 15 Apr 2020

Did you know?

Socket

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.

Install

Related posts