Socket
Socket
Sign inDemoInstall

@miniui/list

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @miniui/list

List 列表


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

List 列表

说明

基于mpvue开发的单文件vue组件

使用

安装组件

npm install @miniui/list --save

引入组件

<template>
  <list></list>
</template>

<script>
import listGroup from '@miniui/list'

export default {
  components = {
    listGroup
  }
}
</script>

props参数

className[String]

classname

data[Array]

列表数据

{
  icon: '/static/img/icon.png', // icon地址
  title: '按钮', // 标题内容
  desc: '测试内容', // 描述内容,
  link: '/pages/user/index', // 跳转地址
  arrow: false, //是否有箭头
}

event事件

click

点击事件,会返回点击item的内容

FAQs

Last updated on 17 Apr 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc