Control bar

control:position#

Emitted when the control bar repositions near the active block.

Type: signal.

Payload: none.

Example:

app.on('control:position', () => {
  repositionCustomOverlay();
});

control:ready#

Emitted when the control UI bar finishes rendering its buttons. Emitted when the control bar buttons are rendered.

Type: signal.

Payload: none.

Example:

app.on('control:ready', () => {
  // react to the signal
});