Corex.PasswordInput.Translation (Corex v0.1.1)

View Source

Translatable strings for Corex.PasswordInput.

Pass translation={%Corex.PasswordInput.Translation{}} to override any field. Omitted fields use gettext defaults (see table).

FieldDefaultUsed for
toggle_visibilityToggle password visibilityVisibility trigger aria-label

Partial override example:

translation={%Corex.PasswordInput.Translation{
  toggle_visibility: Corex.Gettext.gettext("Show password")
}}

Summary

Types

t()

@type t() :: %Corex.PasswordInput.Translation{toggle_visibility: String.t()}

Functions

resolve(partial)