New-UDTab / New-UDTabContainer

Hi,

has someone used these before?

these 2 were announced here: https://ironmansoftware.com/powershell-universal-dashboard-2-3/ but I can’t find anything about it in the docs. I tried something like this:

$tabs = @()
$tabs += New-UDTab -Text "Tab1" -content { basic stuff }
$tabs += New-UDTab -Text "Tab2" -content { basic stuff }
New-UDTabContainer -Tabs $tabs

but it doesn’t work. any help/snippet would be appreciated.

Here is an example of how to use tabs: https://github.com/ironmansoftware/universal-dashboard/blob/master/src/UniversalDashboard.Materialize/Tests/tabs.tests.ps1

I’ve created an issue for documenting this feature: https://github.com/adamdriscoll/universal-dashboard-documentation/issues/18

thanks adam. I will test it.