class Card extends Component implements Htmlable (View source)

Properties

protected array|null $chart
protected string|null $chartColor
protected string|null $color
protected string|null $icon
protected Htmlable|null $description
protected string|null $descriptionIcon
protected string|null $descriptionIconPosition
protected string|null $descriptionColor
protected array $extraAttributes
protected bool $shouldOpenUrlInNewTab
protected string|null $url
protected string|null $id
protected Htmlable $label
protected $value

Methods

__construct(Htmlable $label, $value)

No description

static Card
make(Htmlable $label, $value)

No description

chartColor(string|null $color)

No description

color(string|null $color)

No description

icon(string|null $icon)

No description

description(Htmlable|null $description)

No description

descriptionColor(string|null $color)

No description

descriptionIcon(string|null $icon, string|null $position = null)

No description

extraAttributes(array $attributes)

No description

openUrlInNewTab(bool $condition = true)

No description

url(string|null $url, bool $shouldOpenInNewTab = false)

No description

chart(array|null $chart)

No description

label(Htmlable $label)

No description

id(string $id)

No description

value($value)

No description

array|null
getChart()

No description

string|null
getChartColor()

No description

string|null
getColor()

No description

string|null
getIcon()

No description

Htmlable|null
getDescription()

No description

string|null
getDescriptionColor()

No description

string|null
getDescriptionIcon()

No description

string|null
getDescriptionIconPosition()

No description

array
getExtraAttributes()

No description

string|null
getUrl()

No description

bool
shouldOpenUrlInNewTab()

No description

Htmlable
getLabel()

No description

string
getId()

No description

getValue()

No description

string
toHtml()

No description

View
render()

No description

Details

final __construct(Htmlable $label, $value)

No description

Parameters

Htmlable $label
$value

static Card make(Htmlable $label, $value)

No description

Parameters

Htmlable $label
$value

Return Value

Card

Card chartColor(string|null $color)

No description

Parameters

string|null $color

Return Value

Card

Card color(string|null $color)

No description

Parameters

string|null $color

Return Value

Card

Card icon(string|null $icon)

No description

Parameters

string|null $icon

Return Value

Card

Card description(Htmlable|null $description)

No description

Parameters

Htmlable|null $description

Return Value

Card

Card descriptionColor(string|null $color)

No description

Parameters

string|null $color

Return Value

Card

Card descriptionIcon(string|null $icon, string|null $position = null)

No description

Parameters

string|null $icon
string|null $position

Return Value

Card

Card extraAttributes(array $attributes)

No description

Parameters

array $attributes

Return Value

Card

Card openUrlInNewTab(bool $condition = true)

No description

Parameters

bool $condition

Return Value

Card

Card url(string|null $url, bool $shouldOpenInNewTab = false)

No description

Parameters

string|null $url
bool $shouldOpenInNewTab

Return Value

Card

Card chart(array|null $chart)

No description

Parameters

array|null $chart

Return Value

Card

Card label(Htmlable $label)

No description

Parameters

Htmlable $label

Return Value

Card

Card id(string $id)

No description

Parameters

string $id

Return Value

Card

Card value($value)

No description

Parameters

$value

Return Value

Card

array|null getChart()

No description

Return Value

array|null

string|null getChartColor()

No description

Return Value

string|null

string|null getColor()

No description

Return Value

string|null

string|null getIcon()

No description

Return Value

string|null

Htmlable|null getDescription()

No description

Return Value

Htmlable|null

string|null getDescriptionColor()

No description

Return Value

string|null

string|null getDescriptionIcon()

No description

Return Value

string|null

string|null getDescriptionIconPosition()

No description

Return Value

string|null

array getExtraAttributes()

No description

Return Value

array

string|null getUrl()

No description

Return Value

string|null

bool shouldOpenUrlInNewTab()

No description

Return Value

bool

Htmlable getLabel()

No description

Return Value

Htmlable

string getId()

No description

Return Value

string

getValue()

No description

string toHtml()

No description

Return Value

string

View render()

No description

Return Value

View