Pode.Web icon indicating copy to clipboard operation
Pode.Web copied to clipboard

Add support for elements to be added to the sidebar (and navbar?)

Open Badgerati opened this issue 2 years ago • 0 comments

This will need to investigation first, mostly for the navbar, but it would be nice to have support added for elements to be added to the sidebar/navbar.

ie:

Edit-PodeWebSidebar -PreContent @(
    New-PodeWebButton -Name 'Do The Thing!' -Scriptblock { ... }
)

I'm not sure properly how this will work, possibly like above we have a -PreContent and -PostContent which adds elements before/after the normal sidebar navigation 🤔 and from #435 we could add a -Content parameter to New-PodeWebPageGroup to further add custom element within the collapsible groupings.

Badgerati avatar May 08 '23 20:05 Badgerati