Results 1 to 2 of 2
  1.    #1  
    All the webos widgets have event controllers. The examples / documentation of the sdk give listen() methods to bind to each widget. However, most of the built in apps use observe() instead.

    eg.

    this.emailListElement = this.controller.get('email_list');

    // List observers
    this.emailListElement.observe(Mojo.Event.listTap,this.handleClick.bindAsEventListener(this));
    this.emailListElement.observe(Mojo.Event.listDelete,this.handleDelete.bindAsEventListener(this));

    Whats the difference and why are there two methods that do the same thing?
  2.    #2  
    anyone?

Posting Permissions