Open this page in the API Guide

Menu.onDataChanged Method

Called when data changes.