Skip to content

Commit

Permalink
Remove addToolTips javascript call from TemplateBase (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brano5 authored Mar 19, 2024
1 parent fb59a2f commit c78cd43
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,6 @@ public IJSRuntime JSRuntime
}

protected string ToolTipText => Onliner?.HumanReadable;


///<inheritdoc/>
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
{
try
{
module = await JSRuntime.InvokeAsync<IJSObjectReference>("import",
"./_content/AXSharp.Presentation.Blazor.Controls/Templates/TemplateBase.razor.js");
await module.InvokeVoidAsync("addToolTips");
}
catch (Exception e)
{
// ignored
}
}
}

[Parameter]
public OnlinerBase<T> Onliner { get; set; }
Expand Down

This file was deleted.

0 comments on commit c78cd43

Please sign in to comment.