0.1.0-beta.3 • Published 6 years ago

nano-table v0.1.0-beta.3

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

nano-table

A nanocomponent for tables. Mainly for my own learning/experimentation.

TODOS

  • API design

    • Column configurations
      • display name
      • toString as default
      • allow override
      • sort fn
      • Default value fn for items where accessor returns null
      • Override sortBy on a column-by-column level
    • tr ID configuration
    • Callbacks on row click
    • Initial sort
    • (current sort callback)?
    • Allow for table or ol?
    • Zero-config "just works" implementation. Default columns/sorting based on inspecting common properties in the objects
    • Allow custom column renderers
  • User feedback

    • icon for which column is currently sorting
    • built-in styles(?)
  • User interaction

    • Clicking header sorts by that item
    • Clicking header of already-selected sort reverses the sort
  • Internals

    • Sort by asc/desc
  • Integrations

    • Write documentation for nanocomponent adapters for use in Angular
  • General

    • Write up API docs and examples