Hello Jonathan,
I'd use my own Class and cascade trough it, something like:
<style>
.my-custom-popup-border {
border: 3px solid red;
background: yellow;
}
</style>
<TelerikAnimationContainer @ref="myPopupRef" Top="300px" Width="100px" Height="100px" AnimationType="AnimationType.ZoomOut" Class="my-custom-popup-border">
My content goes here. The "k-popup" class adds some background and borders which you can define through your own styles instead.
</TelerikAnimationContainer>
<TelerikButton OnClick="@ToggleContainer">Toggle Animation Container</TelerikButton>
@code {
Telerik.Blazor.Components.TelerikAnimationContainer myPopupRef;
public void ToggleContainer()
{
myPopupRef.ToggleAsync();
}
}
Regards,
Marin Bratanov
Progress Telerik
Progress is here for your business, like always.
Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.