Is there no way to adjust the size of a New-UDIFrame? I don’t see any sizing parameters. I have tried adding it to a UDGrid but that seams to have no affect. I know I can use New-UDHtml to make an iframe but I don’t like that you can’t auto adjust the height. I don’t want any visable borders around the iframe.
PSU v4.1.4
Recommended Answer
New-UDIframe is just using New-UDElement under the hood so you can tweak it like this.
New-UDElement -Tag "iframe" -Attributes @{
src = "https://www.ironmansoftware.com"
width = '100%'
style = @{
border = 'none'
minHeight = '100vh'
}
}Adam Driscoll
PowerShell Expert and Developer at Devolutions
New-UDIframe is just using New-UDElement under the hood so you can tweak it like this.
New-UDElement -Tag "iframe" -Attributes @{
src = "https://www.ironmansoftware.com"
width = '100%'
style = @{
border = 'none'
minHeight = '100vh'
}
}Adam Driscoll
PowerShell Expert and Developer at Devolutions