Open this page in the API Guide

Toolbar.onToolbarResize Method

Waits and handles resize logic.