mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
docs(picker): describe how to set the initial value of a picker column (#28034)
## What is the current behavior? There is no description of how to set the value of a picker. ## What is the new behavior? Readers can find this description in the documentation. ## Does this introduce a breaking change? - [ ] Yes - [x] No --------- Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
@ -27,6 +27,9 @@ export interface PickerButton {
|
|||||||
export interface PickerColumn {
|
export interface PickerColumn {
|
||||||
name: string;
|
name: string;
|
||||||
align?: string;
|
align?: string;
|
||||||
|
/**
|
||||||
|
* Changing this value allows the initial value of a picker column to be set.
|
||||||
|
*/
|
||||||
selectedIndex?: number;
|
selectedIndex?: number;
|
||||||
prevSelected?: number;
|
prevSelected?: number;
|
||||||
prefix?: string;
|
prefix?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user