View Source Backpex.HTML.CoreComponents (Backpex v0.6.0)

Provides core components for Backpex.

Summary

Functions

Renders a filter_badge component.

Attributes

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

Functions

Renders a filter_badge component.

Attributes

  • clear_event (:string) - event name for removing the badge. Defaults to "clear-filter".
  • filter_name (:string) (required)
  • label (:string) (required)

Slots

  • inner_block

Attributes

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