Class and constructor for file upload widgets
Super classes
RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> FileUpload
Public fields
_model_nameName of the Javascript model in the frontend.
_view_nameName of the Javascript view in the frontend.
acceptA character string that defineds the accepted file type. If empty, all files are accepted.
multipleA Boolean traitlet, whether multiple files are accepted.
disabledA Boolean traitlet, whether the widget is disabled.
iconA character string, the font-awesome without the 'fa-' prefix.
button_styleThe string that describes the button style
styleThe button style, an object of class "ButtonStyleClass".
errorA string with an error message, if applicable.
valueThe uploaded data.
Active bindings
filenameA character string, the name of the uploaded file.
contentsA raw vector with the contents of the uploaded file
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$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()