Sdílet prostřednictvím


JSComponentConfigurationExtensions.RegisterForJavaScript Metoda

Definice

Přetížení

RegisterForJavaScript(IJSComponentConfiguration, Type, String)

Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu.

RegisterForJavaScript(IJSComponentConfiguration, Type, String, String)

Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu.

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String)

Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu.

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String)

Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu.

RegisterForJavaScript(IJSComponentConfiguration, Type, String)

Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs

Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu.

public static void RegisterForJavaScript (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, Type componentType, string identifier);
static member RegisterForJavaScript : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * Type * string -> unit
<Extension()>
Public Sub RegisterForJavaScript (configuration As IJSComponentConfiguration, componentType As Type, identifier As String)

Parametry

componentType
Type

Typ komponenty.

identifier
String

Jedinečný identifikátor pro typ komponenty, který bude použit kódem JavaScriptu.

Platí pro

RegisterForJavaScript(IJSComponentConfiguration, Type, String, String)

Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs

Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu.

public static void RegisterForJavaScript (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, Type componentType, string identifier, string javaScriptInitializer);
static member RegisterForJavaScript : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * Type * string * string -> unit
<Extension()>
Public Sub RegisterForJavaScript (configuration As IJSComponentConfiguration, componentType As Type, identifier As String, javaScriptInitializer As String)

Parametry

componentType
Type

Typ komponenty.

identifier
String

Jedinečný identifikátor pro typ komponenty, který bude použit kódem JavaScriptu.

javaScriptInitializer
String

Určuje volitelný identifikátor funkce Jazyka JavaScript, která bude volána k registraci vlastního elementu.

Platí pro

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String)

Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs

Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu.

public static void RegisterForJavaScript<TComponent> (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, string identifier) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RegisterForJavaScript : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * string -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Sub RegisterForJavaScript(Of TComponent As IComponent) (configuration As IJSComponentConfiguration, identifier As String)

Parametry typu

TComponent

Typ komponenty.

Parametry

identifier
String

Jedinečný identifikátor pro typ komponenty, který bude použit kódem JavaScriptu.

Platí pro

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String)

Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs
Zdroj:
JSComponentConfigurationExtensions.cs

Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu.

public static void RegisterForJavaScript<TComponent> (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, string identifier, string javaScriptInitializer) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RegisterForJavaScript : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * string * string -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Sub RegisterForJavaScript(Of TComponent As IComponent) (configuration As IJSComponentConfiguration, identifier As String, javaScriptInitializer As String)

Parametry typu

TComponent

Typ komponenty.

Parametry

identifier
String

Jedinečný identifikátor pro typ komponenty, který bude použit kódem JavaScriptu.

javaScriptInitializer
String

Určuje volitelný identifikátor funkce Jazyka JavaScript, která bude volána k registraci vlastního elementu.

Platí pro