Class BlazorReactiveComponentBase
Represents the base class for reactive components in a Blazor application.
Inheritance
BlazorReactiveComponentBase
Implements
Inherited Members
Namespace: PoeShared.Blazor
Assembly: PoeShared.Blazor.dll
Syntax
public abstract class BlazorReactiveComponentBase : ReactiveComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IReactiveComponent, IDisposable, INotifyPropertyChanged, IRefreshableComponent, IAsyncDisposable
Constructors
Name | Description |
---|---|
BlazorReactiveComponentBase() | Constructor to initialize the BlazorReactiveComponentBase instance. |
Properties
Name | Description |
---|---|
Class | Gets or sets user-defined class names, separated by space. |
DataContext | Gets or sets the data context for the component. |
Id | Gets or sets user-defined Id, not all components may be using it |
JsRuntime | Gets or sets the JavaScript runtime associated with the component. |
Style | Gets or sets user-defined styles, applied on top of the component's own classes and styles. |
WhenChanged | Observable sequence that signals when a property of the component changes. |
Methods
Name | Description |
---|---|
Track<TExpressionContext, TOut>(TExpressionContext, Expression<Func<TExpressionContext, TOut>>) | Tracks changes in the specified context using a selector expression. |