Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to add widget script to Blazor page

$
0
0

I need to add widget script to my Blazor project.

If I'm adding script to _Host.cshtml this widget runs on all project pages.But I need to run it only on selected pages.

I can't insert

<script src="//code-ya.jivosite.com/widget/kiMhndUDCT" async></script>

to .razor component.

How can i do that with JSRuntime?

Thanks!


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>