Language

AssetPathAttributes Class

Definition

Infrastructure for the discovery of HTML attributes that accept static asset-path expansion.

[Microsoft.AspNetCore.Components.AcceptsAssetPath("audio", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("img", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("input", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("link", "href")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("script", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("source", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("track", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("video", "poster")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("video", "src")]
public static class AssetPathAttributes
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("audio", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("img", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("input", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("link", "href")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("script", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("source", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("track", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("video", "poster")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("video", "src")>]
type AssetPathAttributes = class
Public Class AssetPathAttributes
Inheritance
AssetPathAttributes
Attributes

Remarks

To extend the supported element and attribute combinations, define a public class named AssetPathAttributes and annotate it with AcceptsAssetPathAttribute.

Applies to