ClassFileUpload

File upload component

Hierarchy (view full)

Constructors

Properties

_$root: HTMLElement
$button: HTMLButtonElement
$label: Element
$status: HTMLSpanElement
$wrapper: HTMLDivElement
i18n: I18n
defaults: FileUploadConfig = ...

File upload default config

elementType: (new () => Element) = HTMLElement
moduleName: string = 'govuk-file-upload'

Name for the component used when initialising using data-module attributes.

schema: Readonly<{
    properties: {
        i18n: {
            type: "object";
        };
    };
}> = ...

File upload config schema

Accessors

Methods