@elemental/ui / Class

LmnNavigationItemComponent

No documentation has been provided.

Properties

NameTypeDescription
disabled
r
InputSignalWithTransform<boolean, unknown>
disabledMarker
r
InputSignal<string | undefined>
label
r
InputSignal<string | undefined>
name
r
InputSignal<string>
nativeElement
r
HTMLElement
notificationsAttrAriaLabelPlural
r
InputSignal<string>
notificationsAttrAriaLabelSingular
r
InputSignal<string>
notificationsCount
r
InputSignal<number | undefined>
triggerRef
r
InputSignal<HTMLElement | undefined>

Accessors

get active

No documentation has been provided.

Presentation
get active(): boolean;
Type

boolean

get focused

No documentation has been provided.

Presentation
get focused(): boolean;
Type

boolean

set negative

No documentation has been provided.

Presentation
set negative(isNegative: boolean);
Type

boolean

Methods

activate()

Activates the navigation item, if not disabled, by making a request to the parent LmnNavigationBarComponent.

Notes

This method can be called externally, by an integrator

Presentation
activate(): void;
Returns
void

toggleActive()

Toggles the active state of the navigation item.

Notes

This method is called by the LmnNavigationBarComponent to toggle the active state of the item.

Presentation
toggleActive(value: boolean): void;
Parameters
NameTypeDescription
value
boolean

@param {boolean} value - The new value for the active state (true for active, false for inactive).

Returns
void