Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xsyx/hanzo-action-list

Package Overview
Dependencies
Maintainers
13
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xsyx/hanzo-action-list

action-list 组件

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
13
Weekly downloads
 
Created
Source

操作列表组件

变更日志

v1.1.1
  • 可自定义标题、角标、备注栏样式
v1.0.11
  • 图标自适应:保持纵横比缩放图片,使图片的长边能完全显示出来。
v1.0.10
  • 改package文件编码
v1.0.9
  • 依赖错误
v1.0.8
  • 样式引用错误
v1.0.7
  • 调整角标样式
v1.0.5
  • 调整角标样式
v1.0.4
  • 代码优化
v1.0.3
  • disabled为true时,openType无效
v1.0.2
  • columnCount 默认值为4
  • 增加实现小程序跳转功能
v1.0.0
  • 组件初始化
基本调用
 <hanzo-action-list></hanzo-icon>
参数 props
序号参数说明类型可选值默认值是否可空版本号
1list数据列表Array-[]1.0.0
  1.1  keyId唯一标识string--1.0.0
  1.2  name名称string--1.0.0
  1.3  url页面地址string--1.0.0
  1.4  desc备注信息string--1.0.0
  1.5  icon图标string--1.0.0
  1.6  disabledIcon选择后的icon图标string--1.0.0
  1.7  type操作类型stringpage:打开页面;
openType:微信开放能力;
page-1.0.0
  1.8  openType微信开放能力(type参数值为openType有效,详情见微信开发文档)string--1.0.0
  1.9  appId小程序appIdstring--1.0.0
  1.10  desc备注信息string--1.0.0
  1.11  dot脚标string--1.0.0
  1.12  dotStyle脚标样式string--1.0.0
  1.13  data其它数据string--1.0.0
  1.14disabled是否禁用string--1.0.0
1.15nameStyle标题样式string---1.0.0
1.16descStyle备注样式string---1.0.0
2skin皮肤Array-default-1.0.0
3type显示风格number1:竖向排列;2:横向排列;1-1.0.0
4columnCount一行显示多少个(type等于2有效)number有效值2到104-1.0.0
5showArrow是否显示向右的箭头(type等于1有效)Boolean-true-1.0.0
6showSkeleton是否显示骨架Boolean-false-1.0.0
7line-height行高(type等于1有效)string---1.0.0
8dotStyle角标样式string---1.1.1
9nameStyle标题样式string---1.1.1
10descStyle备注样式string---1.1.1
自定义事件 event
序号事件名参数说明备注版本号
1list-click{
  // 详情
  "details": {}
}
单击事件-1.0.0
插槽 slot
名称说明备注
相关演示

FAQs

Package last updated on 24 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc