View Source PhoenixDuskmoon.Card (PhoenixDuskmoon v4.4.0)

Render card.

Link to this section Summary

Functions

Generates card

Link to this section Functions

Generates card

example

Example

<.dm_card>
  <:title>
  Star Wars
  </:title>
  Star Wars is an American epic space opera multimedia
  franchise created by George Lucas,
  which began with the eponymous 1977 film and
  quickly became a worldwide pop-culture phenomenon.
</.dm_card>

attributes

Attributes

  • id (:any) - html attribute id. Defaults to false.
  • class (:any) - html attribute class. Defaults to "".

slots

Slots

  • title - Render a card title. Accepts attributes:
    • class (:any) - title class.