Navigation
LmnNavigationBarComponent
import { LmnNavigationBarComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Implements: |
|
Properties
Name | Type | Description |
---|---|---|
activeItem r |
| |
changeItem r |
| |
items r |
| |
itemsContainer r |
| |
lmnKeyboardNavigationManager r |
| |
nativeElement r | HTMLElement | |
navigateBackwardControl r |
| |
navigateForwardControl r |
| |
negative r |
| |
nextButtonTooltip r |
| |
previousButtonTooltip r |
| |
role | string |
Methods
checkIfTranslationNeeded() | ||||||
---|---|---|---|---|---|---|
Checks if translation is needed based on the active item's name. NotesThis method is intended to be called by child components | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
goToNextChunk() |
---|
Navigate to the next chunk in the navigation bar. |
Presentation
|
Returnsvoid |
goToPreviousChunk() |
---|
Navigate to the previous chunk in the navigation bar. |
Presentation
|
Returnsvoid |
requestToActivateItem() | ||||||
---|---|---|---|---|---|---|
Requests the activation of a navigation item. NotesThis method creates a Subject to check if activation can proceed and emits an event to activate the item. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
LmnNavigationItemComponent
import { LmnNavigationItemComponent } from '@elemental/ui';
Decorators: |
|
Selectors: | a[ |
Implements: |
|
Properties
Name | Type | Description |
---|---|---|
disabled r |
| |
disabledMarker r |
| |
label r |
| |
name r |
| |
nativeElement r | HTMLElement | |
notificationsAttrAriaLabelPlural r |
| |
notificationsAttrAriaLabelSingular r |
| |
notificationsCount r |
| |
triggerRef r |
|
Accessors
get active |
---|
No documentation has been provided. |
Presentation
|
Type
|
get focused |
---|
No documentation has been provided. |
Presentation
|
Type
|
set negative |
---|
No documentation has been provided. |
Presentation
|
Type
|
Methods
activate() |
---|
Activates the navigation item, if not disabled, by making a request to the parent LmnNavigationBarComponent. NotesThis method can be called externally, by an integrator |
Presentation
|
Returnsvoid |
toggleActive() | ||||||
---|---|---|---|---|---|---|
Toggles the active state of the navigation item. NotesThis method is called by the LmnNavigationBarComponent to toggle the active state of the item. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |