SiPasswordToggleComponent documentation¶
import { SiPasswordToggleComponent } from '@siemens/element-ng/password-toggle'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| hideLabel ¶ | TranslatableString | $localize`:@@SI_PASSWORD_TOGGLE.HIDE:hide password` | The aria-label (translatable) for the password hide icon. |
| showLabel ¶ | TranslatableString | $localize`:@@SI_PASSWORD_TOGGLE.SHOW:show password` | The aria-label (translatable) for the password show icon. |
| showVisibilityIcon ¶ | boolean | true | Whether to show the visibility toggle icon. |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| typeChange ¶ | string | Emits the |
Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| (readonly) inputType ¶ | string | The |
Types Documentation¶
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Except where otherwise noted, content on this site is licensed under MIT License.