Hi all,
I am missing a on_click with the New-UDIcon, is there a workaround? I use a button with no text but it takes too much space in columns.
Thanks
You might be able to wrap the icon in a UDLink.
New-UDLink -OnClick {} -Content {
New-UDIcon
}
I do something similar on my app and wrap it in an element which has attributes to present an icon as a ‘download’ button.
Here’s an example:
New-UDElement -Tag 'a' -Id "docdownloadbutton" -Attributes @{
'href'=$DocDownloadPath
'download'=$LatestBlobName
'className'="docbtn"
} -Content {
New-UDTablerIcon -Size 60 -Icon Download -Color black
}