1.2.2 • Published 3 months ago

aurelia-smart-table v1.2.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
3 months ago

Aurelia Smart Table

A simple plugin that makes easy to work with table.

Installation

Use npm or yarn to install aurelia-smart-table.

npm i aurelia-smart-table

or

yarn add aurelia-smart-table

Usage

Import the plugin in your application.

aurelia.use.plugin('aurelia-smart-table');

Then use it like that:

<smart-table data.bind="[ourData]">
  <!-- Repeat for each columns -->
  <table-column>
    <table-header-cell [attributes]>[columnTitle]</table-header-cell>
    <table-cell [attributes]>
      <!-- Apply treatment to the data element -->
      ${element}
    </table-cell>
  </table-column>

  <table-header-row [attributes]></table-header-row>
  <table-row [attributes]></table-row>
</smart-table>

Demo & documentation

You can find the documentation and the demo here.

License

MIT

1.2.2

3 months ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago