allow AddModuleMessage to support displaying the message at the bottom of the module instance

This commit is contained in:
sbwalker
2023-12-04 09:55:53 -05:00
parent 5d1510083e
commit e4e1fa6a4c
2 changed files with 60 additions and 39 deletions

View File

@ -261,7 +261,12 @@ namespace Oqtane.Modules
// UI methods
public void AddModuleMessage(string message, MessageType type)
{
ModuleInstance.AddModuleMessage(message, type);
AddModuleMessage(message, type, "top");
}
public void AddModuleMessage(string message, MessageType type, string position)
{
ModuleInstance.AddModuleMessage(message, type, position);
}
public void ClearModuleMessage()