1.0.8 • Published 2 years ago
@lucasz/d-table v1.0.8
DTable
Usage
- Import the component
import DTable from 'd-table';
- Add it to the components object
components: {DTable}
- Use it in the template
<DTable
...props
\>
Props
Name | Type | Required | Default | Description |
---|---|---|---|---|
columnNames | string[] | ✔️ | - | |
tableData | [][] | ✔️ | - | |
columnNameToSort | string | ❌ | - | |
isDescending | boolean | ❌ | false | |
interactiveSorting | boolean | ❌ | false | |
sortingApi | boolean | ❌ | - |
Events
Name | Description |
---|---|