Lurch Web User Interface

Class

UploadItem

An item that can be used in a Dialog to allow the user to upload a file. It creates HTML content with two DIVs, one that permits dragging and dropping of files onto the dialog to upload them, and the other of which contains a button you can click to choose a file.

Constructor

new UploadItem(name)

Construct an upload control/area, as described above.

Parameters

  • name string

    the key to use to identify this input control's content in the dialog's key-value mapping for all input controls

Source