add toast support to ModuleMessage

This commit is contained in:
sbwalker
2025-09-15 16:42:37 -04:00
parent f9741a82bd
commit a528e5eab2
4 changed files with 111 additions and 22 deletions

View File

@ -379,7 +379,17 @@ namespace Oqtane.Modules
public void AddModuleMessage(string message, MessageType type, string position)
{
RenderModeBoundary.AddModuleMessage(message, type, position);
AddModuleMessage(message, type, "top", "");
}
public void AddModuleMessage(string message, string action, MessageType type)
{
AddModuleMessage(message, type, "top", action);
}
public void AddModuleMessage(string message, MessageType type, string position, string action)
{
RenderModeBoundary.AddModuleMessage(message, type, position, action);
}
public void ClearModuleMessage()