← Back to team overview

touch-packages team mailing list archive

[Bug 1387679] Re: Wrong documentation

 

** No longer affects: ubuntu-ui-toolkit

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1387679

Title:
  Wrong documentation

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

Bug description:
  The following code snippet is wrong:

      // let refresh control know when the refresh gets completed
      pullToRefresh {
          enable: true
          refreshing: model.status === XmlListModel.Loading
          onRefresh: model.reload()
      }

  at the link:
  http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.UbuntuListView/

  First, pullToRefresh should be "PullToRefresh". Second, there is no
  "enable" field.

  http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.PullToRefresh/

  I think there could be other place not so correct. Do we need to
  recheck with the developers?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1387679/+subscriptions