dotnet / MobileBlazorBindings

Experimental Mobile Blazor Bindings - Build native and hybrid mobile apps with Blazor
MIT License
1.2k stars 151 forks source link

Gesture with Blazor Components #422

Open whann0205 opened 3 years ago

whann0205 commented 3 years ago

I found great working codelines under https://docs.microsoft.com/en-us/mobile-blazor-bindings/ui/gestures. But in my app i dont use Xaml at all only blazor plus components from mudblazor. Question is how can i recognize pinch gestures in this case for html elements like /div as well as mudblazor textbox or is there a generic way of doing that ?

Eilon commented 3 years ago

If you're building a hybrid app that uses BlazorWebView with HTML content, you should be able to do gestures however HTML/JS do it. That UI/Gestures topic is for supporting gestures in native UI, not web/HTML UI.