View Source PetalComponents.Table (petal_components v1.7.0)

Summary

Functions

Attributes

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

Slots

  • inner_block

Attributes

  • class (:string) - CSS class. Defaults to "".
  • Global attributes are accepted. Supports all globals plus: ["colspan", "headers", "rowspan"].

Slots

  • inner_block

Attributes

  • class (:string) - CSS class. Defaults to "".
  • Global attributes are accepted. Supports all globals plus: ["colspan", "rowspan"].

Slots

  • inner_block

Attributes

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

Slots

  • inner_block

Attributes

  • class (:any) - CSS class. Defaults to "".
  • label (:string) - Adds a label your user, e.g name. Defaults to nil.
  • sub_label (:string) - Adds a sub-label your to your user, e.g title. Defaults to nil.
  • avatar_assigns (:map) - if using an avatar, this map will be passed to the avatar component as props. Defaults to nil.
  • Global attributes are accepted.

Functions

Attributes

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

Slots

  • inner_block

Attributes

  • class (:string) - CSS class. Defaults to "".
  • Global attributes are accepted. Supports all globals plus: ["colspan", "headers", "rowspan"].

Slots

  • inner_block

Attributes

  • class (:string) - CSS class. Defaults to "".
  • Global attributes are accepted. Supports all globals plus: ["colspan", "rowspan"].

Slots

  • inner_block

Attributes

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

Slots

  • inner_block

Attributes

  • class (:any) - CSS class. Defaults to "".
  • label (:string) - Adds a label your user, e.g name. Defaults to nil.
  • sub_label (:string) - Adds a sub-label your to your user, e.g title. Defaults to nil.
  • avatar_assigns (:map) - if using an avatar, this map will be passed to the avatar component as props. Defaults to nil.
  • Global attributes are accepted.