Embed JointJs+ with Blazor #2881
-
Beta Was this translation helpful? Give feedback.
Answered by
sandaruwan4ever
Feb 18, 2025
Replies: 2 comments
-
You may need to load the file using a <script type="text/javascript" src="js/joint-plus.js"></script> What does the Blazor documentation suggest about importing JavaScript libraries? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was able to access like this, and added js and css files directly. Thanks for the support. window.jointjsInterop = {
initialize: function (paperElementId, stencilElementId, toolbarElementId, inspectorElementId) {
// create paper scroller
const namespace = joint.shapes;
const graph = new joint.dia.Graph({}, { cellNamespace: namespace }) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sandaruwan4ever
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to access like this, and added js and css files directly. Thanks for the support.