config.js 123 B

123
  1. instance.UI.addEventListener(instance.UI.Events.VIEWER_LOADED, () => {
  2. instance.setFitMode(instance.FitMode.FitWidth)
  3. })