You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Popover/PopoverProvider.razor

19 lines
569 B

@namespace Connected.Components
@if (IsEnabled)
{
<div class="mud-popover-provider">
@foreach (var handler in Service.Handlers)
{
<Render @ref="handler.ElementReference" @key="handler.Id">
<div id="@($"popovercontent-{handler.Id}")" data-ticks="@(handler.ActivationDate?.Ticks ?? 0)" @attributes="@handler.UserAttributes" class="@handler.Class" style="@handler.Style">
@if (handler.ShowContent == true)
{
@handler.Fragment
}
</div>
</Render>
}
</div>
}