O'Reilly logo

Easy Web Development with WaveMaker by Edward Callahan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom components

It is possible to define your component types within projects. Custom and composite components can be added to the palette for use with createComponent(). Custom widgets are single custom widgets and composites are pages turned into widgets.

A simple example of a custom widget can be found in the common/packages/example folder of the WaveMaker home folder. It is a button that changes color and cursor during mouse-over movements using pre-connected mouseout and mouseover events called myButton.js. By extending the wm.Button type, myButton inherits the functionality of a button, so it only needs to add the calls to connect and the page functions that would otherwise go in page code. Information about building custom components can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required