Share via


RootComponent Class

Definition

Describes a root component that can be added to a BlazorWebView.

public ref class RootComponent
public class RootComponent
type RootComponent = class
Public Class RootComponent
Inheritance
RootComponent

Constructors

RootComponent()

Properties

ComponentType

Gets or sets the type of the root component. This type must implement IComponent.

Parameters

Gets or sets an optional dictionary of parameters to pass to the root component.

Selector

Gets or sets the CSS selector string that specifies where in the document the component should be placed. This must be unique among the root components within the BlazorWebView.

Applies to