dropdownDispose_() {
    for (const event of this.boundEvents_) {
      Blockly.browserEvents.unbind(event);
    }
    this.boundEvents_.length = 0;
    this.imageElement_ = null;
  }
Dispose of events belonging to the pitch picker.
@private