Wrong documentation
Bug #1387679 reported by
XiaoGuo, Liu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Medium
|
Zsombor Egri |
Bug Description
The following code snippet is wrong:
// let refresh control know when the refresh gets completed
pullToRefresh {
enable: true
refreshing: model.status === XmlListModel.
onRefresh: model.reload()
}
at the link: http://
First, pullToRefresh should be "PullToRefresh". Second, there is no "enable" field.
http://
I think there could be other place not so correct. Do we need to recheck with the developers?
Related branches
lp:~larryprice/ubuntu-ui-toolkit/fix-1387679
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/Ubuntu/Components/1.3/UbuntuListView.qml (+1/-1)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Medium |
status: | New → Confirmed |
no longer affects: | ubuntu-ui-toolkit |
To post a comment you must log in.
The pullToRefresh: pullToRefresh is wrong, indeed.
Second, "enable" is wrong, indeed, should be "enabled".
Third, we cannot document the properties of the ancestor types, PullToRefresh type derives from Item, and enabled is a property if Item.