0.1.0 • Published 4 years ago

vueraappivottable v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

raap-vue-pivottable

With raap-vue-pivottable you can do operations on a pivot table in a very simple way in Vue.js applications.

npm npm

Installation

Use the package manager npm or yarn to install raap-vue-pivottalle.

npm

$ npm i raap-vue-pivottable

yarn

$ yarn add raap-vue-pivottable

Usage

In your input file import raap-vue-pivottable.

For example: (main.js)

import 'raap-vue-pivottable'
import 'raap-vue-pivottable/dist/raap-vue-pivottable.css'

Declare the raap-vue-pivottable component in your template.

For Example: (App.js)

<template>
  <div id="app">
    <raap-vue-pivottable
      :headerList="['YEAR','MONTH','DAY']"
      :valueList="['CURRENCY', 'AGE']"
      :keyList="['YEAR','MONTH','DAY','CURRENCY','AGE']"
      :dataList="[['2020','January','17',150.50,30],['2013','December','20',240,25]]"
    />
  </div>
</template>

Props |Key|Type & Default Value| Description |----|-------------------|--------------- |headerList|Array[], required| Rows and cols to filter. |valueList|Array[], required| Values to calculate. |keyList|Array[], required| Order of de input data values. |dataList|Array[], required| Input list of data values.

Author

Allende, Raul - raul.allende2025@gmail.com - https://github.com/raulallende2025