foundation-header.navigation.islayoutitemactive
Home > @genesislcap/foundation-header > Navigation > isLayoutItemActive
Navigation.isLayoutItemActive() method
Check if a layout item is currently active in the layout
Signature:
isLayoutItemActive(item: FoundationRouteNavItem): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
item |
FoundationRouteNavItem |
The navigation item to check |
Returns:
boolean
true if the item is active in the layout