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:
Manu MA
2018-11-02 00:06:40 +01:00
committed by GitHub
parent 335acf96ee
commit ecc2c55370
151 changed files with 1363 additions and 1430 deletions

View File

@ -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 | Default |
| ---------- | ---------- | ----------------------------------------------------------- | --------- | ----------- |
| `disabled` | `disabled` | If `true`, the user cannot interact with the select option. | `boolean` | `false` |
| `selected` | `selected` | If `true`, the element is selected. | `boolean` | `false` |
| `value` | -- | The text value of the option. | `any` | `undefined` |
----------------------------------------------

View File

@ -10,7 +10,7 @@ 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.
*/
@Prop() disabled = false;