www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.Event.listReorder

Mojo.Event.listReorder

This event is dispatched to the widget element when an item is reordered. SceneAssistants will often listen for this event on List widgets, and should respond by reordering the given item model as indicated (and persist the changes to disk if appropriate).

Custom Event Fields

  • model: The widget's model object.
  • item: The model object for the list item being moved.
  • fromIndex: The current index of the list item, which it should be moved from.
  • toIndex: The new index of the list item, which it should be moved to.

Supported Widgets

  • Mojo.Widget.List
 

0 Comments

    Add Comment


      • >:o
      • :-[
      • :'(
      • :-(
      • :-D
      • :-*
      • :-)
      • :P
      • :\
      • 8-)
      • ;-)