Funicular::FileUpload module of PicoRuby
Singleton methods
mount
Funicular::FileUpload.mount() -> void
retrieve_file
Funicular::FileUpload.retrieve_file(?String storage_key) -> JS::Object?
select_file_with_preview
Funicular::FileUpload.select_file_with_preview(String input_id) { (JS::Object? file, String? preview_url) -> void } -> void
store_file
Funicular::FileUpload.store_file(String input_id, ?String storage_key) -> JS::Object?
upload_with_formdata
Funicular::FileUpload.upload_with_formdata(
String url,
?fields: Hash[untyped, untyped],
?file_field: String?,
?file: JS::Object?
) { (Hash[untyped, untyped] result) -> void } -> void