Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
52 lines (35 loc) · 1.57 KB

input-password-toggle.md

File metadata and controls

52 lines (35 loc) · 1.57 KB
title
ion-input-password-toggle

import Props from '@ionic-internal/component-api/v8/input-password-toggle/props.md'; import Events from '@ionic-internal/component-api/v8/input-password-toggle/events.md'; import Methods from '@ionic-internal/component-api/v8/input-password-toggle/methods.md'; import Parts from '@ionic-internal/component-api/v8/input-password-toggle/parts.md'; import CustomProps from '@ionic-internal/component-api/v8/input-password-toggle/custom-props.mdx'; import Slots from '@ionic-internal/component-api/v8/input-password-toggle/slots.md';

<title>ion-input-password-toggle: Toggle the visibility of a password in Input</title>

import EncapsulationPill from '@components/page/api/EncapsulationPill';

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 InputPasswordToggle must be used with an Input that has its type property set to either 'text' or 'password'.

Using any other type will cause a warning to be logged. :::

import Basic from '@site/static/usage/v8/input-password-toggle/basic/index.md';

Properties

Events

Methods

CSS Shadow Parts

CSS Custom Properties

Slots