語言

RootComponentMapping 結構

定義

定義根 IComponent 目錄與 DOM 專案選取器之間的對應。

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

建構函式

名稱 Description
RootComponentMapping(Type, String, ParameterView)

使用提供的 componentType 和 selector ,建立 的新實例 RootComponentMapping 。

RootComponentMapping(Type, String)

使用提供的 componentType 和 selector ,建立 的新實例 RootComponentMapping 。

屬性

名稱 Description
ComponentType

取得元件類型。

Parameters

取得要傳遞至根元件的參數。

Selector

取得 DOM 專案選取器。

適用於