Added example for onPageDidAppear callback