Class: UploadView

MusicXMLAnalyzer. UploadView

new UploadView()

Source:

Methods

<inner> addLogMessage(msg)

Adds a log message
Parameters:
Name Type Description
msg string log message
Source:

<inner> disableAllInputs()

Disables all input buttons
Source:

<inner> disposeLogMessages()

Disposes log messages
Source:

<inner> init()

Init function of UploadView
Source:

<inner> initLogMessages()

Inits the log messages
Source:

<inner> onError(file, errorMessage, xhrObject)

Gets called when an error occurs
Parameters:
Name Type Description
file file the file to upload
errorMessage string error message
xhrObject object the xhr object
Source:

<inner> onQueueComplete()

Gets called when upload queue is complete
Source:

<inner> onSuccess(file, respone)

Gets called when uploading data has been successful
Parameters:
Name Type Description
file file the file to upload
respone string the uplaod response message
Source:

<inner> onUploadClose()

Gets called when uploading data is done
Source:

<inner> onUploadSubmit(event)

Gets called when upload hast been started
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> setUploadSubmit(value)

This method sets the upload submit button active or disabled
Parameters:
Name Type Description
value boolean boolean value for active or disabled
Source: