Summary

Widgets are signature components provided by Mojo that enable your applications with a powerful UI that has the look and feel of webOS. Using common techniques, you can customize widget behavior and appearance around your specific needs by manipulating widget settings along with their corresponding events and styles.

In this chapter, we’ve looked at the widget design and covered the general methodology for declaring, instantiating, rendering, and updating widgets. The News application has been extended to include buttons, lists, and text fields, and we’ve covered each of those widget types in detail. We’ve also covered event handling and style overrides, and by now you should have a good idea how to use a widget within your application.

With these basic widgets, you can write some simple applications. But you will also need menus and dialog boxes, which we’ll cover in the next chapter, to write meaningful, UI-complete applications. With what you’ve learned so far, however, it wouldn’t hurt to write some sample applications to familiarize yourself with stages, scenes, widgets, and event handling. These basics will be used throughout any webOS application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.114.228