Suggest calling plugin.onResize() instead of triggering an event.