Class and constructor for file upload widgets
Super classes
RKernel::HasTraits
-> RKernel::Widget
-> RKernel::DOMWidget
-> RKernel::DescriptionWidget
-> RKernel::ValueWidget
-> FileUpload
Public fields
_model_name
Name of the Javascript model in the frontend.
_view_name
Name of the Javascript view in the frontend.
accept
A character string that defineds the accepted file type. If empty, all files are accepted.
multiple
A Boolean traitlet, whether multiple files are accepted.
disabled
A Boolean traitlet, whether the widget is disabled.
icon
A character string, the font-awesome without the 'fa-' prefix.
button_style
The string that describes the button style
style
The button style, an object of class "ButtonStyleClass".
error
A string with an error message, if applicable.
value
The uploaded data.
names
of the uploaded files
Methods
Inherited methods
RKernel::HasTraits$notify()
RKernel::HasTraits$observe()
RKernel::HasTraits$validate()
RKernel::Widget$_send()
RKernel::Widget$check_version()
RKernel::Widget$close()
RKernel::Widget$display_data()
RKernel::Widget$finalize()
RKernel::Widget$get_state()
RKernel::Widget$handle_comm_msg()
RKernel::Widget$handle_comm_opened()
RKernel::Widget$handle_custom_msg()
RKernel::Widget$handle_displayed()
RKernel::Widget$handle_event()
RKernel::Widget$on_displayed()
RKernel::Widget$on_event()
RKernel::Widget$on_msg()
RKernel::Widget$open()
RKernel::Widget$send()
RKernel::Widget$send_state()
RKernel::Widget$set_state()
RKernel::DOMWidget$add_class()
RKernel::DOMWidget$has_class()
RKernel::DOMWidget$remove_class()
RKernel::ValueWidget$on_change()