voici.js
GitHubTypeDocnpm☕
  • 🏠Home
  • ⚡Quick Start
  • 💡Examples
    • Styling
      • Alignment
      • Colors
      • Border
      • Padding
      • Width
      • Font Style
    • Sorting
    • Highlighting
    • Accumulation
    • Columns
      • Sort Columns
      • Selected Columns
      • Rename Columns
      • Dynamic Columns
    • Arrays
    • Fill Empty
    • Export
    • Typescript
    • Printing
  • 🧩Contributing
  • Reference
    • 📖API Reference
      • AccumulationFunction
      • Config
      • Sort
      • Table
    • ❓FAQ
    • ❗Issues
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. API Reference

Sort

The Table Sort type definition.

PreviousConfigNextTable

Last updated 2 years ago

Was this helpful?

Name
Type
Default
Description

columns

string

[]

The columns to sort by.

directions

Array<'asc'> | Array<'desc'>

[]

The sort directions.

See the TypeDoc too.

📖
documentation