We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

What is the meaning to this line

Thread ID:

Created:

Updated:

Platform:

Replies:

130477 May 15,2017 06:37 AM May 16,2017 03:03 AM ASP.NET MVC 1
loading
Tags: Diagram
Jonathan Dorval
Asked On May 15, 2017 06:37 AM

var dropDownObj = $('#list').ejDropDownList("instance");
var diagram = $('#myDiagram').ejDiagram("model");

Hello, when looking at the MVC doc, I fell a couple time on parts where you interact directly in javascript such as this line.
Sometimes, we pass ("instance"), sometimes it's ("model").

I've searched through the online doc but can't find info on these parameters, could somebody explain to me ? Or point to any resources that could help me understand

Thank you in advance

Shyam G [Syncfusion]
Replied On May 16, 2017 03:03 AM

Hi Jonathan, 
 
Query 
Response 
var diagram = $('#myDiagram').ejDiagram("instance"); 
 
It returns the diagram objects which has public API methods and the diagram model properties. 
var diagram = $('#myDiagram').ejDiagram("model"); 
It returns the diagram’s model properties alone. 
 
 
Regards, 
Shyam G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;