You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs wrong for ionSwipe event on expandable ItemSliding #1213
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.
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.
The API documentation reflects the documentation at the time of the latest stable release (for 3.x that is 3.9.2). The documentation for this was updated, but because we haven't released a new version of 3.x because of our work on 4.x, the documentation will continue to reflect the old usage of the 3.9.2 release.
Activity
JamieVangeysel commentedon Oct 11, 2018
I almost can't believe this is still an issue seriously ...
brandyscarney commentedon Jan 14, 2019
The API documentation reflects the documentation at the time of the latest stable release (for 3.x that is 3.9.2). The documentation for this was updated, but because we haven't released a new version of 3.x because of our work on 4.x, the documentation will continue to reflect the old usage of the 3.9.2 release.
The commit to update the documentation was made on March 9, 2018 (ionic-team/ionic-framework@aad67ab) but the release for 3.9.2 was November 8, 2017 (https://github.com/ionic-team/ionic/releases/tag/v3.9.2) so this documentation update did not make it in to the last release.
If you want to see the latest documentation that is in master for any component switch to the nightly dropdown as that is updated frequently:
This will reflect the latest state of the 3.x documentation: https://ionicframework.com/docs/nightly/api/components/item/ItemSliding/#expandable-options
With all of that said, I believe we need to look into the doc generation process to make sure it is properly working still since there hasn't been an update to the nightly documentation since March for v3. I believe it has to do with us moving the v3 source: https://github.com/ionic-team/ionic-v3/
perrygovier commentedon Jun 11, 2019
Pruning legacy docs issues. If you'd still like these fixed, please open a PR on @ionic-team/ionic-legacy-docs