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. |
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.