Stat
class Stat extends Component implements Htmlable (View source)
Traits
Properties
static protected Closure>> | $macros | from Macroable | |
protected float[] | $chart | ||
protected string | $chartColor | ||
protected string | $color | ||
protected string|null | $icon | ||
protected Htmlable|null | $description | ||
protected string|null | $descriptionIcon | ||
protected IconPosition|string|null | $descriptionIconPosition | ||
protected string | $descriptionColor | ||
protected array<string,scalar> | $extraAttributes | ||
protected bool | $shouldOpenUrlInNewTab | ||
protected string|null | $url | ||
protected string|null | $id | ||
protected Htmlable | $label | ||
protected scalar | $value |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
final
__construct(Htmlable $label, $value)
No description
static Stat
make(Htmlable $label, $value)
No description
Stat
chartColor(string|array|null $color)
No description
Stat
color(string|array|null $color)
No description
Stat
icon(string|null $icon)
No description
Stat
description(Htmlable|null $description)
No description
Stat
descriptionColor(string|array|null $color)
No description
Stat
descriptionIcon(string|null $icon, IconPosition|string|null $position = null)
No description
Stat
extraAttributes(array $attributes)
No description
Stat
openUrlInNewTab(bool $condition = true)
No description
Stat
url(string|null $url, bool $shouldOpenInNewTab = false)
No description
Stat
chart(array|null $chart)
No description
Stat
label(Htmlable $label)
No description
Stat
id(string $id)
No description
Stat
value($value)
No description
array|null
getChart()
No description
string|array|null
getChartColor()
No description
string|array|null
getColor()
No description
string|null
getIcon()
No description
Htmlable|null
getDescription()
No description
string|array|null
getDescriptionColor()
No description
string|null
getDescriptionIcon()
No description
IconPosition|string
getDescriptionIconPosition()
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
string|null
getUrl()
No description
bool
shouldOpenUrlInNewTab()
No description
Htmlable
getLabel()
No description
string
getId()
No description
scalar
getValue()
No description
string
toHtml()
No description
View
render()
No description
string
generateDataChecksum()
No description