stevenrskelton / sortable-table

Polymer Web Component that generates a sortable <table> from inlined or AJAX JSON, JSON5, and arrays.
https://stevenrskelton.github.io/sortable-table/
MIT License
196 stars 37 forks source link

Display a loading message #16

Open ghost opened 9 years ago

ghost commented 9 years ago

It would be nice if sortable-table could show a loading message when data is loading. Users love loading messages. Maybe datasource could have a "loading" attribute and then sortable-table could show/hide a div or template depending of that attribute. Thank you for sortable-table.

stevenrskelton commented 9 years ago

I've added a loading Boolean to sortable-table's attributes.

It can be used to do something externally, but I do plan on templating loading and empty scenarios sometime in the future.