0

i'm trying MAUI Blazor and potentially it's really cool, but i had some problems ( a lot). I want to call some javascript function to the main blazorwebview but i don't know how to do it. From MainLoyout.razor i take the blazorwebview.

<b:BlazorWebView x:Name="mainView"  HostPage="wwwroot/index.html">
    <b:BlazorWebView.RootComponents>
        <b:RootComponent Selector="#app" ComponentType="{x:Type local:Main}" />
    </b:BlazorWebView.RootComponents>
</b:BlazorWebView>

But from here i don't know how to inject javascript. Thanks

4

0 に答える 0