mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +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:
@ -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';
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user