Socket
Socket
Sign inDemoInstall

flexi-table

Package Overview
Dependencies
317
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    flexi-table

A Vue.js component Table


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Flexi Table

Flexible, mobile responsive Vue.js Table Component

Installation

npm install flexi-table --save-dev

Browser

Include the script file, then install the component with Vue.use(FlexiTable); e.g.:

<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/flexi-table/dist/flexi-table.min.js"></script>
<script type="text/javascript">
  Vue.use(FlexiWidget);
</script>

Module

import FlexiTable from 'flexi-table';

Usage

Once installed, it can be used as simply as:

<flexi-table  :column="column"
              :rows="rows">
</flexi-table>
  /*
    Columns should be array like example below
  */
 let columns = ['Column 1', 'Column 2', 'Column 3'];
   /*
     Rows should be array as well
   */
 let rows = [
                {whatEverName: "Adam", whatEverProduct: "M", whatEverTotal: "Sunflower"},
                {whatEverName: "Adam", whatEverProduct: "M", whatEverTotal: "Sunflower"},
                {whatEverName: "Adam", whatEverProduct: "M", whatEverTotal: "Sunflower"},
             ] 

API

Props

NameTypeDescription
columnsArraySet columns / headers
rowsArraySet rows

##TODO

Keywords

FAQs

Last updated on 21 Sep 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