Changes for Preview6
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
@DynamicComponent
|
||||
</CascadingValue>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
[CascadingParameter]
|
||||
protected PageState PageState { get; set; }
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
@DynamicComponent
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
[CascadingParameter]
|
||||
protected PageState PageState { get; set; }
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
@DynamicComponent
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
[CascadingParameter]
|
||||
protected PageState PageState { get; set; }
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
@DynamicComponent
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
[CascadingParameter]
|
||||
protected PageState PageState { get; set; }
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
@using System.Collections.Generic
|
||||
@using Oqtane.Shared
|
||||
@using Microsoft.JSInterop
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
@inject SiteState SiteState
|
||||
@inject IUriHelper UriHelper
|
||||
@inject IJSRuntime jsRuntime
|
||||
@ -19,7 +20,7 @@
|
||||
|
||||
@DynamicComponent
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
|
||||
[CascadingParameter] PageState PageState { get; set; }
|
||||
|
||||
@ -236,9 +237,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
private async void OnLocationChanged(object sender, string AbsoluteUri)
|
||||
private async void OnLocationChanged(object sender, LocationChangedEventArgs args)
|
||||
{
|
||||
_absoluteUri = AbsoluteUri;
|
||||
_absoluteUri = args.Location;
|
||||
await LocationChanged();
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
@DynamicComponent
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
[CascadingParameter] PageState PageState { get; set; }
|
||||
|
||||
RenderFragment DynamicComponent { get; set; }
|
||||
|
Reference in New Issue
Block a user