add RenderMode to IModuleControl
This commit is contained in:
@ -30,5 +30,10 @@ namespace Oqtane.Modules
|
||||
/// Identifies all resources in a module
|
||||
/// </summary>
|
||||
List<Resource> Resources { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Specifies the required render mode for the module control ie. Static,Interactive
|
||||
/// </summary>
|
||||
string RenderMode { get; }
|
||||
}
|
||||
}
|
||||
|
@ -115,6 +115,8 @@ namespace Oqtane.Models
|
||||
public string Actions { get; set; }
|
||||
[NotMapped]
|
||||
public bool UseAdminContainer { get; set; }
|
||||
[NotMapped]
|
||||
public string RenderMode{ get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -3,6 +3,5 @@ namespace Oqtane.Shared {
|
||||
public const string Static = "Static";
|
||||
public const string Interactive = "Interactive";
|
||||
public const string Headless = "Headless";
|
||||
public const string Hybrid = "Hybrid"; // used at runtime by .NET MAUI clients
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user