admin管理员组

文章数量:1201414

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?

本文标签: