I added two custom zoom controls. Where can I set the "onClick" events. Thank you.
//Blockly.mainWorkspace.undo(true);
Blockly.ZoomControls.prototype.createZoomNextSvg_=function(a){
this.zoomNextGroup_=Blockly.utils.dom.createSvgElement(Blockly.utils.Svg.G,{"class":"blocklyZoom"},this.svgGroup_);
var b=Blockly.utils.dom.createSvgElement(Blockly.utils.Svg.CLIPPATH,{id:"blocklyZoomnextClipPath"+a},this.zoomNextGroup_);
Blockly.utils.dom.createSvgElement(Blockly.utils.Svg.RECT,{width:32,height:32},b);
Blockly.utils.dom.createSvgElement(Blockly.utils.Svg.IMAGE,{width:Blockly.SPRITE.width,height:Blockly.SPRITE.height,x:-128,y:-92,"clip-path":"url(#blocklyZoomnextClipPath"+a+")"},this.zoomNextGroup_)
.setAttributeNS(Blockly.utils.dom.XLINK_NS,"xlink:href",this.workspace_.options.pathToMedia+Blockly.SPRITE.url);
this.onZoomNextWrapper_=Blockly.browserEvents.conditionalBind(this.zoomNextGroup_,"mousedown",null,this.zoom_.bind(this,-1))
};
//Blockly.mainWorkspace.undo(false);
Blockly.ZoomControls.prototype.createZoomPreviousSvg_=function(a){
this.zoomPreviousGroup_=Blockly.utils.dom.createSvgElement(Blockly.utils.Svg.G,{"class":"blocklyZoom"},this.svgGroup_);
var b=Blockly.utils.dom.createSvgElement(Blockly.utils.Svg.CLIPPATH,{id:"blocklyZoompreviousClipPath"+a},this.zoomPreviousGroup_);
Blockly.utils.dom.createSvgElement(Blockly.utils.Svg.RECT,{width:32,height:32},b);
Blockly.utils.dom.createSvgElement(Blockly.utils.Svg.IMAGE,{width:Blockly.SPRITE.width,height:Blockly.SPRITE.height,x:-96,y:-92,"clip-path":"url(#blocklyZoompreviousClipPath"+a+")"},this.zoomPreviousGroup_)
.setAttributeNS(Blockly.utils.dom.XLINK_NS,"xlink:href",this.workspace_.options.pathToMedia+Blockly.SPRITE.url);
this.onZoomPreviousWrapper_=Blockly.browserEvents.conditionalBind(this.zoomPreviousGroup_,"mousedown",null,this.zoom_.bind(this,-1))
};