|
|
|
@ -4,5 +4,15 @@ namespace Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Pages; |
|
|
|
|
|
|
|
public class CmsKitContentWidgetOptions |
|
|
|
{ |
|
|
|
public Dictionary<string, ContentWidgetConfig> WidgetConfigs { get; } = new(); |
|
|
|
public Dictionary<string, ContentWidgetConfig> WidgetConfigs { get; } |
|
|
|
|
|
|
|
public CmsKitContentWidgetOptions() |
|
|
|
{ |
|
|
|
WidgetConfigs = new(); |
|
|
|
} |
|
|
|
|
|
|
|
public void AddWidgetConfig(string name, ContentWidgetConfig contentWidgetConfig) |
|
|
|
{ |
|
|
|
WidgetConfigs.Add(name, contentWidgetConfig); |
|
|
|
} |
|
|
|
} |