Documentation

itemTemplate

String

[HTML String]

The itemTemplate option allows you to specify a special HTML template for each item that is added to the queue.

The outtermost item element MUST have the class “uploadifive-queue-item” as the code uses this class to perform various tasks.

In UploadiFive, the following classes have special behavior in the queue item template:

  • .filename – The file name will be inserted in this element
  • .close – Cancel / close behavior will be added to the onClick for this element
  • .fileinfo – Upload status or percentage will display in this element
  • .progress-bar – This element’s width will be updated on upload progress

 

Demo