mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
fix(all): docs for all missing props
This commit is contained in:
committed by
Manu MA
parent
53305741a0
commit
a72fced6fe
@ -8,11 +8,11 @@ SelectOption is a component that is a child element of Select. For more informat
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Attribute | Description | Type |
|
||||
| ---------- | ---------- | ------------------------------------------------------------------------------ | --------- |
|
||||
| `disabled` | `disabled` | If true, the user cannot interact with the select option. Defaults to `false`. | `boolean` |
|
||||
| `selected` | `selected` | If true, the element is selected. | `boolean` |
|
||||
| `value` | -- | The text value of the option. | `any` |
|
||||
| Property | Attribute | Description | Type |
|
||||
| ---------- | ---------- | -------------------------------------------------------------------------------- | --------- |
|
||||
| `disabled` | `disabled` | If `true`, the user cannot interact with the select option. Defaults to `false`. | `boolean` |
|
||||
| `selected` | `selected` | If `true`, the element is selected. | `boolean` |
|
||||
| `value` | -- | The text value of the option. | `any` |
|
||||
|
||||
|
||||
## Events
|
||||
|
||||
@ -10,12 +10,12 @@ export class SelectOption implements ComponentInterface {
|
||||
@Element() el!: HTMLElement;
|
||||
|
||||
/**
|
||||
* If true, the user cannot interact with the select option. Defaults to `false`.
|
||||
* If `true`, the user cannot interact with the select option. Defaults to `false`.
|
||||
*/
|
||||
@Prop() disabled = false;
|
||||
|
||||
/**
|
||||
* If true, the element is selected.
|
||||
* If `true`, the element is selected.
|
||||
*/
|
||||
@Prop() selected = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user