-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathNimbleAnchorBase.cs
48 lines (40 loc) · 1.75 KB
/
NimbleAnchorBase.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using Microsoft.AspNetCore.Components;
namespace NimbleBlazor;
public abstract class NimbleAnchorBase : ComponentBase
{
/// <summary>
/// The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
/// </summary>
[Parameter]
public string? Href { get; set; }
/// <summary>
/// Hints at the human language of the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
/// </summary>
[Parameter]
public string? HrefLang { get; set; }
/// <summary>
/// A space-separated list of URLs. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
/// </summary>
[Parameter]
public string? Ping { get; set; }
/// <summary>
/// How much of the referrer to send when following the link. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
/// </summary>
[Parameter]
public string? ReferrerPolicy { get; set; }
/// <summary>
/// The relationship of the linked URL as space-separated link types. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
/// </summary>
[Parameter]
public string? Rel { get; set; }
/// <summary>
/// Where to display the linked URL, as the name for a browsing context. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
/// </summary>
[Parameter]
public string? Target { get; set; }
/// <summary>
/// Hints at the linked URL's format with a MIME type. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
/// </summary>
[Parameter]
public string? Type { get; set; }
}