# elementable-vue

> The elementable component for Vue js

Latest version **0.4.0** (published 2019-12-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install elementable-vue
pnpm add elementable-vue
yarn add elementable-vue
bun add elementable-vue
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2019-12-04 |
| First published | 2019-11-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sander Maas |
| Maintainers | maassander |
| Keywords | Vue, elementable, elementable-vue, datatable |

## Links

- npm: https://www.npmjs.com/package/elementable-vue
- Repository: https://github.com/sandermaas/elementable-vue
- Homepage: https://github.com/sandermaas/elementable-vue#readme
- Issues: https://github.com/sandermaas/elementable-vue/issues
- npm.io page: https://npm.io/package/elementable-vue

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.6.10
- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [core-js](https://npm.io/package/core-js.md) ^3.3.2

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.4.0 (latest) — 2019-12-04
- 0.3.0 — 2019-11-29
- 0.2.0 — 2019-11-24
- 0.1.7 — 2019-11-24
- 0.1.6 — 2019-11-24
- 0.1.5 — 2019-11-24
- 0.1.4 — 2019-11-24
- 0.1.3 — 2019-11-24
- 0.1.2 — 2019-11-23

## README

# elementable-vue

This is the Vue version of the *elementable* datatable. I know, another datatable component.. But I am trying to make this one very straight forward and as decoupled as possible. This is only the first version so configuration is limited for now, you can expect a lot more changes to come. If you have ideas about features, feel free to drop them in the Issues and I will get back to you.

### Install
```
npm install elementable-vue
```
### Import
```
import ElemenTable from 'elementable-vue'
```
### Configuration

You can use the following properties with the component:

**columns**

Type: Array<br/>
Required

This is your collection of columns. Every column is an object which you can assign the following properties to:

| Property   | Type    | Description                                                 |
| ---------- | ------- | ----------------------------------------------------------- |
| active     | boolean | Set an active column, this can only be applied to one       |
| filterable | boolean | Make this column available to be filtered                   |
| name       | string  | The name of the column, this will show as the column header |
| selector   | string  | The property in the data object in dot notation             |
| sortable   | boolean | Define if the column should be sortable or not              |
| type       | type    | Set this as String or Number                                |

**data**

Type: Array<br/>
Required

Every element of the data array represents a row in the table and should be an object with at least the properties defined in the columns array.

**rowsPerPageOptions**

Type: Array<br/>
Default: [10, 25, 50]

Choose how many rows can be displayed on a page.

---
_Source: https://npm.io/package/elementable-vue · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
