Udostępnij przez


JSComponentConfigurationExtensions.RegisterForJavaScript Metoda

Definicja

Przeciążenia

RegisterForJavaScript(IJSComponentConfiguration, Type, String)

Oznacza określony typ składnika dozwolony na potrzeby tworzenia wystąpień w języku JavaScript.

RegisterForJavaScript(IJSComponentConfiguration, Type, String, String)

Oznacza określony typ składnika dozwolony na potrzeby tworzenia wystąpień w języku JavaScript.

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String)

Oznacza określony typ składnika dozwolony na potrzeby tworzenia wystąpień w języku JavaScript.

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String)

Oznacza określony typ składnika dozwolony na potrzeby tworzenia wystąpień w języku JavaScript.

RegisterForJavaScript(IJSComponentConfiguration, Type, String)

Źródło:
JSComponentConfigurationExtensions.cs
Źródło:
JSComponentConfigurationExtensions.cs
Źródło:
JSComponentConfigurationExtensions.cs

Oznacza określony typ składnika dozwolony na potrzeby tworzenia wystąpień w języku JavaScript.

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 składnika.

identifier
String

Unikatowy identyfikator typu składnika, który będzie używany przez kod JavaScript.

Dotyczy

RegisterForJavaScript(IJSComponentConfiguration, Type, String, String)

Źródło:
JSComponentConfigurationExtensions.cs
Źródło:
JSComponentConfigurationExtensions.cs
Źródło:
JSComponentConfigurationExtensions.cs

Oznacza określony typ składnika dozwolony na potrzeby tworzenia wystąpień w języku JavaScript.

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 składnika.

identifier
String

Unikatowy identyfikator typu składnika, który będzie używany przez kod JavaScript.

javaScriptInitializer
String

Określa opcjonalny identyfikator funkcji JavaScript, która zostanie wywołana w celu zarejestrowania elementu niestandardowego.

Dotyczy

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String)

Źródło:
JSComponentConfigurationExtensions.cs
Źródło:
JSComponentConfigurationExtensions.cs
Źródło:
JSComponentConfigurationExtensions.cs

Oznacza określony typ składnika dozwolony na potrzeby tworzenia wystąpień w języku JavaScript.

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 składnika.

Parametry

identifier
String

Unikatowy identyfikator typu składnika, który będzie używany przez kod JavaScript.

Dotyczy

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String)

Źródło:
JSComponentConfigurationExtensions.cs
Źródło:
JSComponentConfigurationExtensions.cs
Źródło:
JSComponentConfigurationExtensions.cs

Oznacza określony typ składnika dozwolony na potrzeby tworzenia wystąpień w języku JavaScript.

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 składnika.

Parametry

identifier
String

Unikatowy identyfikator typu składnika, który będzie używany przez kod JavaScript.

javaScriptInitializer
String

Określa opcjonalny identyfikator funkcji JavaScript, która zostanie wywołana w celu zarejestrowania elementu niestandardowego.

Dotyczy