added a ScriptsLoaded property in ModuleBase and ThemeBase for flow control in Interactive rendering scenarios
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user