View Source Tremorx.Components.Table (tremorx v0.1.0)

Renders a table

Summary

Functions

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Renders the table body

Renders the table cell

Renders the table foot

Renders the table footer cell

Renders the table head

Renders the table header cell

Renders the table row

Functions

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Renders the table body

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Renders the table cell

Attributes

  • class (:string) - Defaults to nil.
  • colspan (:string) - Defaults to "1".
  • Global attributes are accepted.

Slots

  • inner_block

Renders the table foot

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Renders the table head

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block
Link to this function

table_header_cell(assigns)

View Source

Renders the table header cell

Attributes

  • class (:string) - Defaults to nil.
  • colspan (:string) - Defaults to "1".
  • Global attributes are accepted.

Slots

  • inner_block

Renders the table row

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block