1.0.6 • Published 6 years ago

vue-fed-table v1.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

FedTable

FedTable is a simle sourtable, searchable table writen in Vue js. Simply pass in your JSON array via a url and the component will do the rest! This project is styled using Bulma.

Install

npm install vue-fed-table

usage

//index.js
import Vue from 'vue'
import FedTable from 'vue-fed-table'

var app = new Vue({
    el:"#app",
    components:{
        'fed-table': FedTable
    }
});
#index.html
<div id="app">
    <fed-table data-uri="https://jsonplaceholder.typicode.com/posts"></fed-table>
</div>

Options

PropTypeDescriptionRequired?Default ValueExample
dataUriStringURI to json dataYesnulldata-uri="https://jsonplaceholder.typicode.com/photos"
downloadableBooleanAddes a CSV download buttonNotruedownloadable="true"
file-nameStringName of file that will be downloaded if downloable is set to trueNodownload.csvfile-name="yourFile.csv"
page-sizeIntHow many records to show per pageNo15page-size="10"
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago