17 lines
552 B
Plaintext
17 lines
552 B
Plaintext
@using Oqtane.Shared;
|
|
|
|
<DynamicComponent Type="@ComponentType" Parameters="@Parameters"></DynamicComponent>
|
|
|
|
@code {
|
|
Type ComponentType = Type.GetType("Oqtane.UI.Head, Oqtane.Client");
|
|
private IDictionary<string, object> Parameters { get; set; }
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
Parameters = new Dictionary<string, object>();
|
|
Parameters.Add(new KeyValuePair<string, object>("RenderMode", RenderModes.Interactive));
|
|
Parameters.Add(new KeyValuePair<string, object>("Runtime", Runtimes.Hybrid));
|
|
}
|
|
}
|
|
|