Share via


RootComponentMapping 结构

定义

定义根 IComponent 和 DOM 元素选择器之间的映射。

public value class RootComponentMapping
public readonly struct RootComponentMapping
type RootComponentMapping = struct
Public Structure RootComponentMapping
继承
RootComponentMapping

构造函数

RootComponentMapping(Type, String)

使用提供的 componentTypeselector创建 的新实例RootComponentMapping

RootComponentMapping(Type, String, ParameterView)

使用提供的 componentTypeselector创建 的新实例RootComponentMapping

属性

ComponentType

获取组件类型。

Parameters

获取要传递给根组件的参数。

Selector

获取 DOM 元素选择器。

适用于