Repository navigation
v2.0.0
What's Changed
⚠ Behavior Change: ⚠
Refactored the Active-Status propagation. Previously, active status was propagated upwards—meaning if a child link was
active, its parent was also considered active. This behavior made it difficult to determine which link was actually
active, as multiple links could appear active simultaneously.
To resolve this issue, only links explicitly marked as active using the setIsActive() method will now have an active
status of true. However, to maintain the ability to check if a navigation contains active links, a new
hasActiveChildren() method has been introduced.
- Added
hasActiveChildren()method toLink: Allows checking if a link has active children. by @feskol in #2 - Added
setTargetBlank()method toLink: Common use by @feskol in #2 LinkInterfacenow extendsHierarchicalLinkInterfaceby @feskol in #2
Full Changelog: v1.0.0...v2.0.0