Source language: Translate to:

JavaScript Objects in NAB

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

JavaScript Objects in NAB

Postby luishp » Fri Apr 22, 2016 5:02 am

I have discovered that it is possible to initialize JavaScript objects in NAB, like this:
Code: Select all
SetVar [myvar] {left:100,top:100,angle:'+=180'}

Then the variable could be passed to a plugin action as a VARREF

I am finishing an advanced Canvas plugin based on Fabric.js with more than 60 new actions.
With this trick now is even possible to add animation features :)
Later on, I will try to develop an Offline DataBase plugin.
More to come.
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 357
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: JavaScript Objects in NAB

Postby DELCO » Fri Apr 22, 2016 5:12 am

Hello luishp,
That's sounds great !!
Thank you !
User avatar
DELCO
 
Posts: 131
Joined: Fri Apr 01, 2005 9:12 am

Re: JavaScript Objects in NAB

Postby farhad2008 » Fri Apr 22, 2016 9:57 am

hi,
very good
thanks
The Words I Love You
farhad2008
 
Posts: 48
Joined: Tue Apr 01, 2008 1:15 am
Location: usa


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 0 guests