Open this page in the API Guide

Rectangle.onDataChanged Method

Called when data changes.