From 5d2974f2d2c87c4e6297f8d9da42c7ce3fa31b93 Mon Sep 17 00:00:00 2001 From: mhartington Date: Wed, 7 Jun 2017 13:49:08 -0400 Subject: [PATCH] docs(itemSliding): add note about expandable Closes https://github.com/ionic-team/ionic-site/issues/969 --- src/components/item/item-sliding.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/components/item/item-sliding.ts b/src/components/item/item-sliding.ts index 9e35d704ab..ecc4a15b88 100644 --- a/src/components/item/item-sliding.ts +++ b/src/components/item/item-sliding.ts @@ -104,6 +104,23 @@ const enum SlidingState { * * ``` * + * ### Expandable Options + * + * Options can be expanded to take up the full width of the item if you swipe past + * a certain point. This can be combined with the `ionSwipe` event to call methods + * on the class. + * + * ```html + * + * + * Item + * + * + * + * + * ``` + * + * We can call `delete` by either clicking the button, or by doing a full swipe on the item. * * @demo /docs/demos/src/item-sliding/ * @see {@link /docs/components#lists List Component Docs}