← Back to team overview

touch-packages team mailing list archive

[Bug 1387679] Re: Wrong documentation

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
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:
  Confirmed
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-ui-toolkit/+bug/1387679/+subscriptions