Custom UI event button

Hi,

For the zoom buttons, you can use the setZoomLevel API to change the zoom.

For the eraser tool and pan tool, you can call

// eraser
instance.setToolMode(
    instance.Tools.ToolNames.ERASER
  )

// pan
instance.setToolMode(
    instance.Tools.ToolNames.PAN
  )

Thanks!
Logan