Class PasswordInput

Password input component

Preserve

Hierarchy

  • GOVUKFrontendComponent
    • PasswordInput

Constructors

Properties

$input: HTMLInputElement
$module: HTMLElement
$screenReaderStatusMessage: HTMLDivElement
$showHideButton: HTMLButtonElement
i18n: I18n
defaults: PasswordInputConfig = ...

Password input default config

See

PasswordInputConfig

Constant

Default


moduleName: string = 'govuk-password-input'

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

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

Password input config schema

Type declaration

  • properties: {
        i18n: {
            type: "object";
        };
    }
    • i18n: {
          type: "object";
      }
      • type: "object"

Constant

Methods

Generated using TypeDoc