NavigationItem
class NavigationItem extends Component (View source)
Traits
Properties
static protected array | $configurations | from Configurable | |
static protected array | $importantConfigurations | from Configurable | |
protected string | $evaluationIdentifier | from EvaluatesClosures | |
protected array | $evaluationParametersToRemove | from EvaluatesClosures | |
protected string|Closure|null | $group | ||
protected Closure|null | $isActiveWhen | ||
protected string|Closure | $icon | ||
protected string|Closure|null | $activeIcon | ||
protected string|Closure|null | $iconColor | ||
protected string|Closure | $label | ||
protected string|Closure|null | $badge | ||
protected string|Closure|null | $badgeColor | ||
protected bool|Closure | $shouldOpenUrlInNewTab | ||
protected int|Closure|null | $sort | ||
protected string|Closure|null | $url | ||
protected bool|Closure | $isHidden | ||
protected bool|Closure | $isVisible |
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
No description
No description
Details
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
protected array
getDefaultEvaluationParameters()
No description
protected
resolveEvaluationParameter(string $parameter, Closure $value)
No description
protected bool
isEvaluationParameterRemoved(string $parameter)
No description
final
__construct(string|null $label = null)
No description
static NavigationItem
make(string|null $label = null)
No description
NavigationItem
badge(string|Closure|null $badge, string|Closure|null $color = null)
No description
NavigationItem
group(string|Closure|null $group)
No description
NavigationItem
icon(string|Closure $icon)
No description
NavigationItem
visible(bool|Closure $condition = true)
No description
NavigationItem
hidden(bool|Closure $condition = true)
No description
NavigationItem
activeIcon(string|Closure $activeIcon)
No description
NavigationItem
iconColor(string|Closure|null $iconColor)
No description
NavigationItem
isActiveWhen(Closure $callback)
No description
NavigationItem
label(string|Closure $label)
No description
NavigationItem
openUrlInNewTab(bool|Closure $condition = true)
No description
NavigationItem
sort(int|Closure|null $sort)
No description
NavigationItem
url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)
No description
string|null
getBadge()
No description
string|null
getBadgeColor()
No description
string|null
getGroup()
No description
string
getIcon()
No description
bool
isVisible()
No description
bool
isHidden()
No description
string|null
getActiveIcon()
No description
string|null
getIconColor()
No description
string
getLabel()
No description
int
getSort()
No description
string|null
getUrl()
No description
bool
isActive()
No description
bool
shouldOpenUrlInNewTab()
No description