Skip to main content

foundation-header.navigation.islayoutitemactive

Home > @genesislcap/foundation-header > Navigation > isLayoutItemActive

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