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

@ -16,7 +16,7 @@ export class ItemOptions implements ComponentInterface {
@Prop({ context: 'window' }) win!: Window;
/**
* The side the option button should be on. Possible values: `"start"` and `"end"`. Defaults to `"end"`. If you have multiple `ion-item-options`, a side must be provided for each.
* The side the option button should be on. Possible values: `"start"` and `"end"`. If you have multiple `ion-item-options`, a side must be provided for each.
*
*/
@Prop() side: Side = 'end';

View File

@ -17,16 +17,16 @@ You can combine the `ionSwipe` event plus the `expandable` directive to create a
## Properties
| Property | Attribute | Description | Type |
| -------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| `side` | `side` | The side the option button should be on. Possible values: `"start"` and `"end"`. Defaults to `"end"`. If you have multiple `ion-item-options`, a side must be provided for each. | `"end" \| "start"` |
| Property | Attribute | Description | Type | Default |
| -------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ------- |
| `side` | `side` | The side the option button should be on. Possible values: `"start"` and `"end"`. If you have multiple `ion-item-options`, a side must be provided for each. | `"end" \| "start"` | `'end'` |
## Events
| Event | Detail | Description |
| ---------- | ------ | -------------------------------------------- |
| `ionSwipe` | any | Emitted when the item has been fully swiped. |
| Event | Description | Detail |
| ---------- | -------------------------------------------- | ------ |
| `ionSwipe` | Emitted when the item has been fully swiped. | any |
## Methods