github Blazored/Modal v3.0.0
Blazored Modal v3.0.0

latest releases: v7.3.1, v7.3.0, v7.2.0...
4 years ago

Breaking Changes

In this release the old method of showing a modal and having to pass in a type as an argument has been removed in favour of using generics.

This means code which looks like this:

Modal.Show("Sign Up Form", typeof(SignUpForm), parameters, options);

Will need to be updated to this:

Modal.Show<SignUpForm>("Sign Up Form", parameters, options);

New Features

  • #54 - We've removed the 50rem width from the blazored-model CSS class. The modal will now size to whatever size your content is.
  • #71 - It's now possible to remove the entire modal header by setting HideHeader to true either using ModalOptions or setting it via component parameters.
  • #74 - A new internal event has been added to close the modal before executing the current OnClose event which runs user code.
  • #73 - The title for the modal can now be set dynamically by the content component using the following cascading parameter and using the SetTitle(string title) method.
[CascadingParameter] BlazoredModal BlazoredModal { get; set; }

Don't miss a new Modal release

NewReleases is sending notifications on new releases.