OctantisWeb.Components.PolarisWC.STableHeader (octantis v0.2.0)

View Source

Display column names at the top of a table.

Summary

Functions

Display column names at the top of a table.

Functions

s_table_header(assigns)

Display column names at the top of a table.

Attributes

  • format (:string) - HeaderFormat

    The format of the column. Will automatically apply styling and alignment to cell content based on the value.

    • base: The base format for columns.
    • currency: Formats the column as currency.
    • numeric: Formats the column as a number.
  • list_slot (:string) - ListSlotType

    Content designation for the table's list variant.

    • primary: The most important content. Only one column can have this designation.
    • secondary: The secondary content. Only one column can have this designation.
    • kicker: Content that is displayed before primary and secondary content, but with less visual prominence. Only one column can have this designation.
    • inline: Content that is displayed inline.
    • labeled: Each column with this designation displays as a heading-content pair.
  • Global attributes are accepted.

Slots

  • inner_block