-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
appPowerShell Universal AppPowerShell Universal AppenhancementNew feature or requestNew feature or request
Description
We should have set of HTML functions that wrap New-UDElement. For example:
New-UDDiv -Content {
"A div!"
} We should then include some aliases to make it nice and terse.
div {
a -href 'https://www.powershelluniversal.com' { "PowerShell Universal" }
}We should also include a function for CSS styling. It would have all the valid CSS style properties and return a hashtable.
$Style = New-UDCSSStyle -BackgroundColor 'red' -Display 'flex'This would be a good exercise for an LLM. I tried ChatGPT, but it didn't really get there. I think we could add this to the Tools module.
We could also consider making something like PowerShellUniversal.Apps.HTML
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
appPowerShell Universal AppPowerShell Universal AppenhancementNew feature or requestNew feature or request