1.0.8 • Published 2 years ago

@lucasz/d-table v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

DTable

Usage

  1. Import the component

import DTable from 'd-table';

  1. Add it to the components object

components: {DTable}

  1. Use it in the template
<DTable

  ...props

\>

Props

NameTypeRequiredDefaultDescription
columnNamesstring[]✔️-
tableData[][]✔️-
columnNameToSortstring-
isDescendingbooleanfalse
interactiveSortingbooleanfalse
sortingApiboolean-

Events

NameDescription