.presentationUiUploader()
Categories: UI
.presentationUiUploader( [ options ] )
Subclass: de_epages
Inherit: (Subclass: de_epages) .widget()
Plugin: de_epages.presentation.ui.uploader
Description: Create an uploader.
The .presentationUiUploader()
method make an element editable on click the element.
-
Make all divs with class edit editable and strip HTML tags on edit.
Code:
de_epages
.presentationUiUploader({
multiple: true,
accept: 'image/*,video/*,audio/*,application/pdf',
callback: function( data, statustext ){
}
});
-
accept
version added: 6.12.0
A string of MIME types and/or MIME type groups.
Default: */*
-
url
version added: 6.12.0
A string containing the URL to which the request is sent.
Default: ?
-
data
version added: 6.12.0
A map of additional data to send with the request.
Default: {ViewAction:\'JSONViewResponse\'}
-
callback
version added: 6.12.0
A url to open or method to call when upload process is finished. The callback method receives data and statusText as arguments.
-
multiple
version added: 6.12.0
A boolean indication whether to allow muplitple files to upload.
Default: false
-
big
version added: 6.12.0
A boolean boolean short handle set style big.
Default: false
-
style
version added: 6.12.0
One of the available styles: normal,big,icon.
Default: \'normal\'