# elm-table-tailwind

Full features ELM table component for Tailwind.

## TODO
- [ ] JS API
- [x] _load more_ pagination
- [x] remove specific style
- [ ] pagination for subtable
- [ ] dynamic subtable data
- [ ] documentation (more example)
- [x] sort subtable
- [ ] more explicit parameter
- [ ] generic view: merge elm-table-tailwind and elm-table
- [ ] remove static/dynamic table


## Usage

Install the ELM package and the NPM package for the styles:

```
> elm install gribouille/elm-table-tailwind
> npm install elm-table-tailwind
```

Include the CSS styles from `node_modules/elm-table-tailwind/style.css`.


## Examples

To start the examples in dev mode:
```
> cd examples
> npm install
> npm run server
> npm run dev
```

Open [http://localhost:3000](http://localhost:3000).

To build the examples:
```
npm run dist
```


## Documentation

See the documentation [here](http://package.elm-lang.org/packages/gribouille/elm-table/latest).


## Contributing

Feedback and contributions are very welcome.


## License

This project is licensed under [Mozilla Public License Version 2.0](./LICENSE).