A link for the sidebar, sidebar-dropdown, and header-dropdown.
Props
alertLevel
Display a dot on the icon, to attract attention to the link.
erroror
okayor
warningor
undefined
count
Display a counter in place of the icon.
numberor
undefined
disabled
If the link should be disabled.
boolean
false
external
If the link is external
booleanor
undefined
forceRefresh
If the Link should break out of the router, and force a page load
booleanor
undefined
icon
Display an icon on the left.
[namespace: stringor
symbol, name: string]or
stringor
undefined
level
Apply an indent to the left of the link, for basic nesting.
numberor
undefined
matchExact
Use exact url matching for active.
booleanor
undefined
matchStrict
Use strict url matching for active.
booleanor
undefined
matchUrl
When to display as active. Uses the
url
by default.
stringor
undefined
priority
When deciding the active child, if multiple are active, the highest priority wins.
number
0
target
Target for link (eg: target="_blank")
stringor
undefined
url
Where to link to.
stringor
undefined
Methods
isActive
isActive() => Promise<boolean>
If the link is currently active
Parts
The badge element, if rendered.
The counter element, if rendered.
The icon element, if rendered.
The link element.