This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
2019-05-04 20:32:08 -04:00

17 lines
338 B
Plaintext

@using Oqtane.Shared
@using Oqtane.Client.Shared
<CascadingValue Value="@PageState">
<SiteRouter OnStateChange="@ChangeState" />
</CascadingValue>
@functions {
private PageState PageState { get; set; }
private void ChangeState(PageState pagestate)
{
PageState = pagestate;
StateHasChanged();
}
}