Open this page in the API Guide

Taskbar.clearCommands Method

Empties the commands container.