Example #1
0
 /// <inheritdoc />
 protected override void OnParametersSet()
 {
     _tagElement = new TagElement(TagName, Attributes);
 }
 /// <inheritdoc />
 protected override void OnParametersSet()
 {
     _tagElement = new TagElement(TagName, Attributes);
     _jsObject   = new HeadManagementJSObjectReference(JSRuntime);
 }
Example #3
0
 public async ValueTask AddOrUpdateHeadTagAsync(TagElement tag, string id)
 {
     var headManager = await HeadManager;
     await headManager.InvokeVoidAsync("addOrUpdateHeadTag", tag, id);
 }
Example #4
0
 public static ValueTask AddOrUpdateHeadTagAsync(this IJSRuntime jsRuntime, TagElement tag, string id)
 {
     return(jsRuntime.InvokeVoidAsync($"{JsFunctionsPrefix}.addOrUpdateHeadTag", tag, id));
 }
 public async ValueTask AddOrUpdateHeadTagAsync(TagElement tag, string id)
 {
     await _jsRuntime.InvokeVoidAsync("addOrUpdateHeadTag", tag, id);
 }