Type alias ZoomPluginOptions

ZoomPluginOptions: {
    deltaThreshold?: number;
    maxZoom?: number;
    scale?: number;
}

Type declaration

  • Optional deltaThreshold?: number

    The amount the wheel or trackpad needs to be moved before zooming the waveform. Set this value to 0 to have totally fluid zooming (this has a high CPU cost).

    Default

    5
    
  • Optional maxZoom?: number
  • Optional scale?: number

    The amount of zoom per wheel step, e.g. 0.5 means a 50% magnification per scroll

    Default

    0.5
    

Generated using TypeDoc