Skip to content

Docs wrong for ionSwipe event on expandable ItemSliding #12467

Closed

Description

@jwt02180

Ionic version: (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ X ] 3.x

I'm submitting a ... (check one with "x")
[ X ] documentation error
[ ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
I've been trying to add the full-swipe action to a sliding item in a list. When placed on the <ion-item-sliding> element as per the ItemSliding Docs the ionSwipe event didn't seem to fire properly for me.

The ItemOptions Docs are correct

Expected behavior:
The ionSwipe event should fire when a full swipe occurs on an a list item.

Other information:
The documentation says to place the event listener on the <ion-item-sliding> element, but the source code fires the event on the <ion-item-options> element. This makes sense so you can have the ionSwipe event be set for options on each sliding direction of an item.

I'm just asking that the docs get updated to reflect this.

Activity

  1. jgw96 commented on Jul 27, 2017

    @jgw96
    Contributor

    This issue was moved to ionic-team/ionic-site#1213

  2. ionitron-bot commented on Sep 2, 2018

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  3. locked and limited conversation to collaborators on Sep 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions