语言

RootComponentMapping 结构

定义

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

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

构造函数

名称 说明
RootComponentMapping(Type, String, ParameterView)

使用提供的 componentType 和 selector创建 的新实例RootComponentMapping。

RootComponentMapping(Type, String)

使用提供的 componentType 和 selector创建 的新实例RootComponentMapping。

属性

名称 说明
ComponentType

获取组件类型。

Parameters

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

Selector

获取 DOM 元素选择器。

适用于