Update Current Navigation to version 1.1.5 with new features and configurable initial expansion
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user