ion-picker-column
An individual column within a picker. Visit the ion-picker
documentation for more details.
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 | 'primary' |
disabledâ
Description | If true , the user cannot interact with the picker. |
Attribute | disabled |
Type | boolean |
Default | false |
modeâ
Description | The mode determines which platform styles to use. |
Attribute | mode |
Type | "ios" īŊ "md" |
Default | undefined |
valueâ
Description | The selected option in the picker. |
Attribute | value |
Type | number īŊ string īŊ undefined |
Default | undefined |
Eventsâ
Name | Description | Bubbles |
---|---|---|
ionChange | Emitted when the value has changed. This event will not emit when programmatically setting the value property. | true |
Methodsâ
setFocusâ
Description | Sets focus on the scrollable container within the picker column. Use this method instead of the global pickerColumn.focus() . |
Signature | setFocus() => Promise<void> |
CSS Shadow Partsâ
No CSS shadow parts available for this component.
CSS Custom Propertiesâ
No CSS custom properties available for this component.
Slotsâ
Name | Description |
---|---|
prefix | Content to show on the left side of the picker options. |
suffix | Content to show on the right side of the picker options. |