Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

UploadProgress

class UploadProgress[+Msg]

The transfer progress binding of one upload, as returned by upload.onProgress.

The browser reads phx-progress only from the upload's own file input, so this value is not a modifier: pass it to that upload's liveFileInput, as in liveFileInput(upload, upload.onProgress(Msg.Progress)). Passing it to another upload's input throws IllegalArgumentException when the input renders.

Defined by scalive.UploadProgress. View source (scalive/api/src/scalive/HtmlElement.scala:445-447)