Skip to content

TotalEarningsCard

File: @views/Widgets/WidgetsTotalEarningsCard

WidgetsTotalEarningsCard is a highly customizable widget that display total earnings details.

Props

For WidgetsTotalEarningsCard widget, the following props are available:

PropTypeDefaultNote
titleString-Card title.
totalChangeNumber-Adds total change in percentage.
totalEarning[String, Number]-Adds total earnings stat.
chartDataObject-Adds chart data.
chartLoadedBoolean-Checks if the chart is loaded.

Slots

The TotalEarningsCard component provides a default slot that enable you to customize the content.

SlotDescription
defaultThe default Vue slot.

COPYRIGHT