added a ScriptsLoaded property in ModuleBase and ThemeBase for flow control in Interactive rendering scenarios

This commit is contained in:
sbwalker
2025-01-31 08:42:36 -05:00
parent f7cf25c4bb
commit a87af264eb
2 changed files with 21 additions and 0 deletions

View File

@ -15,6 +15,8 @@ namespace Oqtane.Themes
{
public abstract class ThemeBase : ComponentBase, IThemeControl
{
private bool _scriptsloaded = false;
[Inject]
protected ILogService LoggingService { get; set; }
@ -82,6 +84,15 @@ namespace Oqtane.Themes
}
}
}
_scriptsloaded = true;
}
public bool ScriptsLoaded
{
get
{
return _scriptsloaded;
}
}
// property for obtaining theme information about this theme component