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

How do I access a JavaScript reference for the network object created by VisNetwork.Blazor?

$
0
0

Using the VisNetwork.Blazor library, I can get a Network instance through using the Component:

<Network @ref="network" Data="@data"/>

Which binds to the network property in my C# code.

In the documentation, there is an event callback on the Network: object SetupCompletedCallback, the documentation for which states:

This event is fired when the network has been setup through interop and the JavaScript network object is available.

However, I cannot find a way to access the aforementioned JavaScript reference in order to run Javascript code directly on the object.

How do get a JavaScript reference to the Network?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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