Open this page in the API Guide

Dockable.toggleExpand Method

Toggle Expanded/Collapsed state.