New to Blazor and having issues getting inline html added.
I'm trying to update an old practice solution and this is what I have there:
<a href="#" @(Model.SideNavHasTooltips ? "tooltip=" + @item.Name + " flow=right" : string.Empty)>
That would generate something like
<a href="#" tooltip="abc" flow="right">
With Blazor, I'm having more difficulty doing this and not sure if I'm missing something obvious?
<div @(SideNavHasTooltips ? "tooltip=" + @item.Name + " flow=right" : string.Empty)>
I've tried adding it to a variable and using that and tried a few other ideas, all to no avail.
I'm really not sure what the right way to do this is but it's not the same so any advice would be helpful.
Thanks