HomeDashWeb.Cards (home_dash v0.0.1)

LiveComponent to displays Cards.

Subscribes to providers that are passed in as providers. Initial cards can be passed in with cards.

Example

<.live_component

module={HomeDashWeb.Cards}
providers={[HomeDash.Providers.Welcome]}
id="first"

/>

Summary

Functions

Attributes

  • providers (:list) - Defaults to [].
  • cards (:list) - Defaults to [].
  • class (:string)
  • card_class (:string)

Functions

Attributes

  • providers (:list) - Defaults to [].
  • cards (:list) - Defaults to [].
  • class (:string)
  • card_class (:string)
Link to this function

render_card(assigns)