Skip to main content

Animation

By default, the modal is shown with a subtle fade in out animation. However, this can be disabled so the modal shows and hides immediately.

Configuring for all modals

<BlazoredModal AnimationType="@ModalAnimationType.None"/>

Configuring for a single modal

var options = new ModalOptions() 
{
AnimationType = ModalAnimationType.None
};

Modal.Show<Confirm>("Are you sure?", options);