The default constructor
Alternate text to display for the logo
Source for the brand logo at the top
Container for page content
Indicates whether or not this is a mobile friendly navigation, default: false
This event is fired any time an item in the navigation is clicked
The navigation items used to build the menu
This event is fired any time the user has initiated navigation
Indicates whether or not to allow the secondary to persist, default: false
Allow pinnable menus when they are open, default: false
Boolean to indicate whether or not to show badges, default: false
Show menu icons, default: true
Show top banner, default: true
Sets an active flag on items when they are selected, default: false
Returns flag indicating if secondary menu is active
True if secondary menu is active
Returns flag indicating if secondary nav is collapsed
True if secondary nav is collapsed
Returns flag indicating if tertiary nav is collapsed
True if tertiary nav is collapsed
Returns flag indicating if nav should be entirely hidden when screen is below desktop resolution
True if nav should be entirely hidden
Returns flag indicating if secondary nav is being hovered over
True if secondary nav is being hovered over
Returns flag indicating if tertiary nav is being hovered over
True if tertiary nav is being hovered over
Returns flag indicating if the navigation is in a mobile state
True if the navigation is in a mobile state
Returns flag indicating if nav is collapsed
True if nav is collapsed
Returns flag indicating if mobile nav should be shown
True if mobile nav should be shown
Returns flag indicating if mobile secondary should be shown
True if mobile secondary should be shown
Returns flag indicating if mobile tertiary should be shown
True if mobile tertiary should be shown
Clear all active items
Collapse secondary navigation
Collapse tertiary navigation
Handles the navbar hamburger toggle click
Hides menus on blur
Primary item selection handler
Show secondary nav bar on hover of primary nav items
Hides menus on blur
Secondary item selection handler
Show tertiary nav bar on hover of secondary nav items
Tertiary item selection handler
Initialize the active items in the vertical navigation
Destroy listeners
Setup component configuration upon initialization
Public resize event called when the window size changes
Generated using TypeDoc
Vertical Navigation component
Usage:
// NGX Bootstrap import { BsDropdownConfig, BsDropdownModule } from 'ngx-bootstrap/dropdown';
@NgModule({ imports: [VerticalNavigationModule, BsDropdownModule.forRoot(),...], providers: [BsDropdownConfig] }) export class AppModule(){}