Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.dll Namespace: CloudNimble.BlazorEssentials.Navigation Inheritance: System.Object

Syntax

Constructors

.ctor

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Methods

Back

This asynchronous method goes to the previous page in session history.

Syntax

Returns

Type: System.Threading.Tasks.ValueTask

Count

Returns an Integer representing the number of elements in the session history, including the currently loaded page.

Syntax

Returns

Type: System.Threading.Tasks.ValueTask<int>

CurrentState

Returns an T type representing the state at the top of the history stack.

Syntax

Returns

Type: System.Threading.Tasks.ValueTask<T>

Type Parameters

  • T - The type of the state data

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

Forward

This asynchronous method goes to the next page in session history.

Syntax

Returns

Type: System.Threading.Tasks.ValueTask

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetScrollRestoration

Allows web applications to explicitly get default scroll restoration behavior on history navigation.

Syntax

Returns

Type: System.Threading.Tasks.ValueTask<CloudNimble.BlazorEssentials.Navigation.ScrollRestorationType>

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

Go

Asynchronously loads a page from the session history, identified by its relative location to the current page.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.ValueTask

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

PushState

Pushes the given data onto the session history stack.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.ValueTask

Type Parameters

  • T - The type of the state data

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ReplaceState

Updates the most recent entry on the history stack.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.ValueTask

Type Parameters

  • T - The type of the state data

SetScrollRestoration

Allows web applications to explicitly set default scroll restoration behavior on history navigation. This property can be either auto or manual.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.ValueTask

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?