-
Notifications
You must be signed in to change notification settings - Fork 149
ContentPage to have a BlazorWebView for HTML usage #412
Comments
Yes, in theory this should work, but maybe you're missing some parameters on the |
Thank you @Eilon. Yes, here is the code of ProductItem that I'm trying to use in a BlazorWebView. ProductItem.razor
Does the BlazorWebView expect something else, please? |
I found a sample: https://github.com/dotnet/MobileBlazorBindings/blob/eaee277ee15fd3ef20f465c213bf6cd840023336/samples/HybridMessageApp/HybridMessageApp/MainPage.xaml I will try, thank you @Eilon |
Good morning @Eilon Looks like the BlazorWebView has no Host property yet in order to get the HTML working. Could you confirm? Thank you. |
O, sorry @Eilon I have just now come across BlazorWebView<IComponent> and MobileBlazorBindingsBlazorWebView that have Host property. Perhaps, this is the way to go about it to get it working. Thank you. |
Sorry @Eilon I couldn't get this working. I would appreciate it if you or your team could provide a tiny code snippet to get this working. In a Shell, ShellContent is a ContentPage where I want to have a BlazorWebView to show razor with HTML. Thank you. |
I got hold of passing the Host, but ContentPage is null here, could you let me know where I should be setting this? Thank you. |
Since Shell's Tab is expecting a ContentPage as a ShellContent, I was wondering if this is a valid way using BlazorWebView as ChildComponent so that I could use HTML as shown below.
ProductItem.razor
There is no error, but ProductItem is not seen.
The text was updated successfully, but these errors were encountered: