Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Mindfusion Typescript: AbstractionLayer.CreateControl support? (Read 2698 times)
Jeetendra
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 16
Location: Germany
Joined: Mar 23rd, 2016
Mindfusion Typescript: AbstractionLayer.CreateControl support?
Oct 24th, 2016 at 6:24am
Print Post  
Hi,

I am trying to to use a trial version of Mindfusion Typescript in my application and testing to generate flowchart example.

It doesn't have support for AbstractionLayer.createControl(this.Diagram, null, null, null, this.diagramElement)

is it only available on license copy?

Please help me to understand so that we can plan our purchase.

Thank you.

Regards,
Jeetendra
  

Regards,
Jeetendra Kumawat
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Mindfusion Typescript: AbstractionLayer.CreateControl support?
Reply #1 - Oct 24th, 2016 at 7:46am
Print Post  
Hi,

You can use Diagram's static create(domElement) method instead, this one from .ts file -

Code
Select All
	/** The Diagram class represents a flow diagram. */
	class Diagram extends MindFusion.Drawing.Canvas
	{
		...
		/** Creates and initializes a new Diagram associated with specified Canvas DOM element.
		 * @param element The Canvas DOM element that the Diagram should be attached to.
		 * @return A Diagram instance.
		*/
		static create(element: any): Diagram; 



Regards,
Slavcho
Mindfusion
« Last Edit: Oct 24th, 2016 at 9:45am by Slavcho »  
Back to top
 
IP Logged
 
Jeetendra
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 16
Location: Germany
Joined: Mar 23rd, 2016
Re: Mindfusion Typescript: AbstractionLayer.CreateControl support?
Reply #2 - Oct 24th, 2016 at 8:13am
Print Post  
Hi Slavcho,

thank you for your reply.

I am actually trying to replicate "MindFusion JsDiagram Sample - FlowCharter" example in my angular2 App.

Is that possible to generate sample with trial version of .js and .d.ts files in angular2 App?

Regards,
Jeetendra
  

Regards,
Jeetendra Kumawat
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Mindfusion Typescript: AbstractionLayer.CreateControl support?
Reply #3 - Oct 24th, 2016 at 9:56am
Print Post  
Hi Jeetendra,

Sure, everything you can do with JavaScript + JQuery you can also replicate in TypeScript + Angular. Calling the diagramming API as shown in flowcharter sample but from Angular controller or component should not change things that much.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint