Update Current Navigation to version 1.1.5 with new features and configurable initial expansion

This commit is contained in:
Torsten Brendgen
2026-08-23 21:36:31 +02:00
parent 61a968562d
commit 26edaf6652
11 changed files with 47 additions and 15 deletions
+2
View File
@@ -5,6 +5,7 @@ param(
[string]$CacheVersion = '1',
[ValidateRange(1, 8)][int]$MaxDepth = 3,
[switch]$ShowRoot,
[ValidateSet('activePath', 'expanded', 'collapsed')][string]$InitialExpansion = 'activePath',
[switch]$EnableDebug
)
@@ -28,6 +29,7 @@ $properties = @{
cacheVersion = $(if ([string]::IsNullOrWhiteSpace($CacheVersion)) { '1' } else { $CacheVersion.Trim() })
maxDepth = $MaxDepth
showRoot = [bool]$ShowRoot.IsPresent
initialExpansion = $InitialExpansion
debug = [bool]$EnableDebug.IsPresent
}