Blog Control Box
Overview

The blog control box is a little widget container that contains widgets that will take actions within a blog.
Typically, a control box widget will open the
control window.
Control Box
The control box service is made available to a toolbox in the $run method as a parameter.
export async function $run($services){
const $controlBox = $services.$controlBox;
}
When the menu item is clicked, we want to open the control box. The following adds an item to the control box. If the box is not open,
it will open it.
$controlBox.addItem({
html: '<img id="' + id + '" class="" style="width:30px;display:block;margin:auto;" src="'+ICON_ROOT+'1059132 - bar note single.png" /><br/>',
id:'davinci.audio'
});
$controlBox.open();
Most control box widgets will open the control window when clicked.
(see
control window for details and implementation information)
Opening the Control Box
The control box can be opened by calling the open method. If the control box is already open, this
will have no effect.