mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
docs(all): possible values are extracted by stencil (#16190)
* docs(all): possible values are extracted by stencil * add defaults * remove all hardcoded defaults * update stencil
This commit is contained in:
@ -31,22 +31,21 @@ export class Select implements ComponentInterface {
|
||||
|
||||
/**
|
||||
* The mode determines which platform styles to use.
|
||||
* Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
@Prop() mode!: Mode;
|
||||
|
||||
/**
|
||||
* If `true`, the user cannot interact with the select. Defaults to `false`.
|
||||
* If `true`, the user cannot interact with the select.
|
||||
*/
|
||||
@Prop() disabled = false;
|
||||
|
||||
/**
|
||||
* The text to display on the cancel button. Default: `Cancel`.
|
||||
* The text to display on the cancel button.
|
||||
*/
|
||||
@Prop() cancelText = 'Cancel';
|
||||
|
||||
/**
|
||||
* The text to display on the ok button. Default: `OK`.
|
||||
* The text to display on the ok button.
|
||||
*/
|
||||
@Prop() okText = 'OK';
|
||||
|
||||
@ -71,7 +70,7 @@ export class Select implements ComponentInterface {
|
||||
@Prop() multiple = false;
|
||||
|
||||
/**
|
||||
* The interface the select should use: `action-sheet`, `popover` or `alert`. Default: `alert`.
|
||||
* The interface the select should use: `action-sheet`, `popover` or `alert`.
|
||||
*/
|
||||
@Prop() interface: SelectInterface = 'alert';
|
||||
|
||||
|
Reference in New Issue
Block a user