Skip to content

@serenity-is/corelib / UploadHelper / createUploadInput

Function: createUploadInput()

createUploadInput(options): object

Defined in: src/ui/helpers/uploadhelper.tsx:24

Creates an upload input element and its associated Uploader.

Parameters

options

UploadInputOptions

The upload input options.

Returns

object

An object containing the created input element and uploader.

input

input: HTMLInputElement

uploader

uploader: Uploader