ion-input-password-toggle
The InputPasswordToggle component is a companion component to Input. It allows users to toggle the visibility of text in a password input.
Basic Usageβ
info
Propertiesβ
colorβ
| Description | The color to use from your application's color palette. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information on colors, see theming. |
| Attribute | color |
| Type | "danger" ο½ "dark" ο½ "light" ο½ "medium" ο½ "primary" ο½ "secondary" ο½ "success" ο½ "tertiary" ο½ "warning" ο½ string ο½ undefined |
| Default | undefined |
hideIconβ
| Description | The icon that can be used to represent hiding a password. If not set, the "eyeOff" Ionicon will be used. |
| Attribute | hide-icon |
| Type | string ο½ undefined |
| Default | undefined |
modeβ
| Description | The mode determines which platform styles to use. This is a virtual property that is set once during initialization and will not update if you change its value after the initial render. |
| Attribute | mode |
| Type | "ios" ο½ "md" |
| Default | undefined |
showIconβ
| Description | The icon that can be used to represent showing a password. If not set, the "eye" Ionicon will be used. |
| Attribute | show-icon |
| Type | string ο½ undefined |
| Default | undefined |
Eventsβ
No events available for this component.
Methodsβ
No public methods available for this component.
CSS Shadow Partsβ
No CSS shadow parts available for this component.
CSS Custom Propertiesβ
No CSS custom properties available for this component.
Slotsβ
No slots available for this component.