-
Book Overview & Buying
-
Table Of Contents
Easy Web Development with WaveMaker
By :
Many of the client-side, non-visual components are added via the Insert menu. Variables are named storage locations. More specifically, the insert variable menu item adds a wm.variable to the project. You can define and use JavaScript variables in JavaScript code as any JavaScript developer would expect. Unlike a JavaScript variable, wm.variable (http://dev.wavemaker.com/wiki/bin/wmjsref_6.5/Variable) is a variable type component class of which you can add instances of to a project. This means they can be used in the visual component tooling of Studio like other project components. JavaScript variables may be easier to manipulate in JavaScript, but wm.variable can often be exclusively managed via the visual tooling. JavaScript variables on the other hand can only be managed via code.
Subclasses of wm.variable include the service variable wm.ServiceVariable and its subclass, the live variable wm.LiveVariable. Service variables merge the ability to make server calls with...
Change the font size
Change margin width
Change background colour