-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
contentIssues related to the contents of the documentation websiteIssues related to the contents of the documentation website
Description
What is missing or inaccurate about the content on this page?
All of the parameters in Ionic methods are missing descriptions. This should be added like the following:
/**
* Scroll by a specified X/Y distance in the component.
*
* @param x The amount to scroll on the horizontal axis.
* @param y The amount to scroll on the vertical axis.
* @param duration The amount of time it takes to scroll in milliseconds. Defaults to `0`.
*/
It is currently not documented either: https://ionicframework.com/docs/api/content#methods
Metadata
Metadata
Assignees
Labels
contentIssues related to the contents of the documentation websiteIssues related to the contents of the documentation website
Type
Projects
Status
Done
Activity
brandyscarney commentedon Apr 18, 2019
I'm working on a PR for this in Ionic.
Related to #229.
brandyscarney commentedon Apr 23, 2019
Added by ionic-team/ionic-framework#18075, just needs to show in the docs
perrygovier commentedon Feb 13, 2020
This is fixed by the
signature
section nowbrandyscarney commentedon Feb 13, 2020
The method being documented isn't the problem, it's not knowing what the params mean:
In this specific case they make sense enough to figure it out, but check others like Action Sheet's methods: https://ionicframework.com/docs/api/action-sheet#methods
What is a role? They're documented in the code like the following
9 remaining items