Interface IModalContext
public interface IModalContext
Methods
PushModal(string, RenderFragment)
Open a modal with respect to the current page.
void PushModal(string title, RenderFragment content)
Parameters
titlestringcontentRenderFragment
TryPopModal(string)
Close the current modal, if it is really open.
bool TryPopModal(string title)
Parameters
titlestring
Returns
Remarks
If it isn't, that's a bug in the modal router, but we want it to be recoverable.