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

vue-tabulation

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tabulation

a vue based table component

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vue-tabulation

一款高性能高扩展性的 vue 表格组件

安装

使用 npm

npm install vue-tabulation

直接下载/CDN 引用

<script src="https://unpkg.com/vue-tabulation"></script>

使用

<template>
  <vue-tabulation
    :columns="columns"
    :dataSource="dataSource"
  ></vue-tabulation>
</template>

<script>
import VueTabulation from 'vue-tabulation'
export default {
  components: {
    VueTabulation,
  },
  data() {
    return {
      columns: [
        {
          label: "姓名",
          prop: "name",
          width: 100
        },
        {
          label: "年龄",
          width: 60,
          prop: "age"
        },
        {
          label: "住址",
          width: 200,
          prop: "address"
        }
      ],
      dataSource: [{
        name: '张三',
        age: 20,
        address: "上海市普陀区金沙江路 1518 弄",
      },{
        name: '李四',
        age: 40,
        address: "上海市普陀区金沙江路 1518 弄",
      },{
        name: '王五',
        age: 18,
        address: "上海市普陀区金沙江路 1518 弄",
      }]
    };
  }
};
</script>

在线 demo

  1. 使用 script
  2. 使用构建工具使用

更多示例

http://yangjunye.gitee.io/vue-tabulation

源码在<本仓库>/demo

执行 npm run dev 查看效果

Keywords

FAQs

Package last updated on 22 Jul 2019

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