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

How to add panning and zoom in blazor web app wasm

$
0
0

I create a new blazor web app project like this: (https://i.sstatic.net/ejiES4vI.png)

It has 2 projects in 1 solution, one is server-side and the other one is client-side. In client-side project there is no such thing "wwwroot/index.html" or "Layout.razor".

I create my own layout like this:

@inherits LayoutComponentBase<main><article>        @Body</article></main>

When i use this layout i want to use panning and zoom to mouse(with ctrl + mouse wheel). As i see cant do it without javascript code but cant figure out how to do.


Viewing all articles
Browse latest Browse all 4840

Trending Articles



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