Skip to main content

ion-input-password-toggle

shadow

InputPasswordToggle コンポーネントは、Inputの補助コンポーネントです。ユーザーがパスワード入力欄内のテキストの表示を切り替えることができます。

Basic Usage​

info

InputPasswordToggle は、type プロパティを 'text' または 'password' に設定した Input と組み合わせて使用してください。

他のどのtypeを使用しても、警告が表示されます。

Properties​

color​

Descriptionアプリケーションのカラーパレットから使用する色を指定します。デフォルトのオプションは以下の通りです。 "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", と "dark" です.色に関する詳しい情報は theming を参照してください。
Attributecolor
Type"danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string | undefined
Defaultundefined

hideIcon​

Descriptionパスワードの非表示を表すアイコン。設定されていない場合、"eyeOff "アイコンが使用される。
Attributehide-icon
Typestring | undefined
Defaultundefined

mode​

Descriptionmodeは、どのプラットフォームのスタイルを使用するかを決定します。

This is a virtual property that is set once during initialization and will not update if you change its value after the initial render.
Attributemode
Type"ios" | "md"
Defaultundefined

showIcon​

Descriptionパスワードを示すアイコン。設定されていない場合は、"eye"のアイコンが使用されます。
Attributeshow-icon
Typestring | undefined
Defaultundefined

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.