NavigationItem
class NavigationItem extends Component (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string|Closure|null | $group | ||
protected string|Closure|null | $parentItem | ||
protected bool|Closure|null | $isActive | ||
protected Htmlable|Closure|null | $icon | ||
protected Htmlable|Closure|null | $activeIcon | ||
protected string|Closure | $label | ||
protected string|Closure|null | $badge | ||
protected string | $badgeColor | ||
protected string|Closure|null | $badgeTooltip | ||
protected bool|Closure | $shouldOpenUrlInNewTab | ||
protected int|Closure|null | $sort | ||
protected string|Closure|null | $url | ||
protected bool|Closure | $isHidden | ||
protected bool|Closure | $isVisible | ||
protected NavigationItem[] | $childItems |
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
No description
No description
No description
No description
No description
No description
No description
No description
Details
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
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(string|Closure|null $label = null)
No description
static NavigationItem
make(string|Closure|null $label = null)
No description
NavigationItem
badge(string|Closure|null $badge, string|array|Closure|null $color = null)
No description
NavigationItem
group(string|Closure|null $group)
No description
NavigationItem
parentItem(string|Closure|null $group)
No description
NavigationItem
icon(Htmlable|Closure|null $icon)
No description
NavigationItem
badgeTooltip(string|Closure|null $tooltip)
No description
NavigationItem
visible(bool|Closure $condition = true)
No description
NavigationItem
hidden(bool|Closure $condition = true)
No description
NavigationItem
activeIcon(Htmlable|Closure|null $activeIcon)
No description
NavigationItem
isActiveWhen(Closure|null $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|array|null
getBadgeColor()
No description
string|null
getBadgeTooltip()
No description
string|null
getGroup()
No description
string|null
getParentItem()
No description
Htmlable|null
getIcon()
No description
bool
isVisible()
No description
bool
isHidden()
No description
Htmlable|null
getActiveIcon()
No description
string
getLabel()
No description
int
getSort()
No description
string|null
getUrl()
No description
bool
isActive()
No description
bool
isChildItemsActive()
No description
bool
shouldOpenUrlInNewTab()
No description
NavigationItem
childItems(Arrayable $items)
No description
Arrayable
getChildItems()
No description