FontAwesomeIcon
class FontAwesomeIcon (View source)
Helper class to render a Font Awesome 5 icon.
Accepts font awesome 4 icon name for backward compatibility.
Constants
PREFIX_SOLID |
|
PREFIX_BRANDS |
|
PREFIX_REGULAR |
|
PREFIX_LIGHT |
|
PREFIX_DUOTONE |
|
Properties
protected string | $name | ||
protected string | $prefix | ||
protected string | $size | ||
protected bool | $fixedWidth | ||
protected int | $rotate | ||
protected string | $flip | ||
protected bool | $spin | ||
protected bool | $pulse | ||
protected bool | $bordered | ||
protected string | $pull | ||
protected bool | $pro | ||
protected bool | $migrateOldName | ||
protected | $migrateList |
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
No description
Get helper class from full class name list like 'far fa-address'.
No description
No description
Details
__construct(string $name, string $prefix = self::PREFIX_SOLID)
No description
string
getName()
No description
void
setName(string $name)
No description
string
getPrefix()
No description
void
setPrefix(string $prefix)
No description
string
getSize()
No description
void
setSize(string $size)
No description
bool
isFixedWidth()
No description
void
setFixedWidth(bool $fixedWidth)
No description
int
getRotate()
No description
void
setRotate(int $rotate)
No description
string
getFlip()
No description
void
setFlip(string $flip)
No description
bool
isSpin()
No description
void
setSpin(bool $spin)
No description
bool
isPulse()
No description
void
setPulse(bool $pulse)
No description
bool
isBordered()
No description
void
setBordered(bool $bordered)
No description
string
getPull()
No description
void
setPull(string $pull)
No description
bool
isPro()
No description
void
setPro(bool $pro)
No description
bool
shouldMigrateOldName()
No description
void
setMigrateOldName(bool $migrateOldName)
No description
protected void
migrateOldIconName()
No description
static FontAwesomeIcon
getFromClassNames(string $classname)
Get helper class from full class name list like 'far fa-address'.
Also supports just icon name like 'address'
Element
getTag()
No description
__toString()
No description