メインコンテンツまでスキップ
バージョン: v8

ion-picker-column

shadow

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 & Record<never, never> | undefined
Default'primary'

disabled

Descriptiontrueの場合、ユーザーはピッカーと対話することができない。
Attributedisabled
Typeboolean
Defaultfalse

mode

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

value

Descriptionピッカーで選択されているオプション。
Attributevalue
Typenumber | string | undefined
Defaultundefined

Events

NameDescription
ionChange値が変更されたときに発行される。 プログラムで value プロパティを設定した場合は、このイベントは発生しない。

Methods

setFocus

Descriptionピッカーカラム内のスクロール可能なコンテナにフォーカスを設定します。グローバルメソッド pickerColumn.focus() の代わりにこのメソッドを使用します。
SignaturesetFocus() => Promise<void>

Slots

NameDescription
prefixピッカー・オプションの左側に表示するコンテンツ。
suffixピッカー・オプションの右側に表示するコンテンツ。