Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
vue-ahn-table
Advanced tools
Vue table template, which can have complex vertical header.
npm install --save vue-ahn-table
<script>
import vue from 'vue';
import aTable from 'vue-ahn-table';
vue.component('aTable', aTable);
export default {
name: 'hello',
data() {
return {
title: 'Basic Table',
tableData: {
header: [
[
{ label: 'header1', isShow: true },
{ label: 'header2', isShow: true },
{ label: 'header3', isShow: true },
{ label: 'header4', isShow: true },
{ label: 'header5', isShow: true },
],
],
rows: [
[
{ label: 'v-title1-1', type: 'header', rowspan: 0, isShow: true },
{ label: 'v-title1-2', type: 'header', rowspan: 0, isShow: true },
{ label: 'v-column1-1', type: 'column' },
{ label: 'v-column1-2', type: 'column' },
{ label: 'v-column1-3', type: 'column' },
],
[
{ label: 'v-title2-1', type: 'header', rowspan: 0, isShow: true },
{ label: 'v-title2-2', type: 'header', rowspan: 0, isShow: true },
{ label: 'v-column2-1', type: 'column' },
{ label: 'v-column2-2', type: 'column' },
{ label: 'v-column2-3', type: 'column' },
],
[
{ label: 'v-title3-1', type: 'header', rowspan: 0, isShow: true },
{ label: 'v-title3-2', type: 'header', rowspan: 0, isShow: true },
{ label: 'v-column3-1', type: 'column' },
{ label: 'v-column3-2', type: 'column' },
{ label: 'v-column3-3', type: 'column' },
],
[
{ label: 'v-title4-1', type: 'header', rowspan: 0, isShow: true },
{ label: 'v-title4-2', type: 'header', rowspan: 0, isShow: true },
{ label: 'v-column4-1', type: 'column' },
{ label: 'v-column4-2', type: 'column' },
{ label: 'v-column4-3', type: 'column' },
],
],
},
};
},
};
</script>
<template>
<div class="hello">
<a-table
:propTableData="tableData"
:propTitle="title"></a-table>
</div>
</template>
I have created an example vue webapp, demonstrating this table via simple vue webapp, checkout example
directory in this repo.
All contributions are welcome: use-cases, documentation, code, patches, bug reports, feature requests, etc. You do not need to be a programmer to speak up!
FAQs
complex header of table for VueJs
The npm package vue-ahn-table receives a total of 2 weekly downloads. As such, vue-ahn-table popularity was classified as not popular.
We found that vue-ahn-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.