   onDidUpdateProgress: (f) -> @emitter.on 'did-update-progress', f
 
   # UI elements:
-  progressView: (p) ->
+  progressView: (p, {min} = {}) ->
     span = document.createElement 'span'
     prog = document.createElement 'progress'
     prog.classList.add 'ink'

    span.appendChild prog

    updateView = (prg) =>
      if prg.progress?
        prog.setAttribute 'value', prg.progress
      else
        prog.removeAttribute 'value'

  consumeStatusBar: (bar) ->
    @statusBar = bar

  create: (p = {progress: 0}) ->
    @activate()
    p.emitter = new Emitter
