Mojo.Event.propertyChange

From WebOS101

Jump to: navigation, search

Contents

Introduction

This event is dispatched to the widget element when property-editing widgets change values.

Custom Event Fields

  • property: Name of the property that changed.
  • value: New value of the property.
  • model: The model object to which the property change applies. Sometimes available:
  • oldValue: value of the widget before this change.
  • originalEvent: event that triggered the propertyChange event to be sent.

Note: oldValue is not set for ListSelectors, ToggleButtons, Scrollers and Sliders. Further, Slider is missing model and property. Most supported widgets do not set originalEvent either.

Supported Widgets

See Also

Personal tools