Table of Contents

Interface IModalContext

Namespace
The.Web.Pages
Assembly
Instagile.Web.Client.dll
public interface IModalContext

Methods

PushModal(string, RenderFragment)

Open a modal with respect to the current page.

void PushModal(string title, RenderFragment content)

Parameters

title string
content RenderFragment

TryPopModal(string)

Close the current modal, if it is really open.

bool TryPopModal(string title)

Parameters

title string

Returns

bool

Remarks

If it isn't, that's a bug in the modal router, but we want it to be recoverable.