Wrong API "ActionListPopover" is used in the code snippet

Bug #1456966 reported by XiaoGuo, Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu API Website
New
Undecided
Unassigned

Bug Description

On the site:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.Popups.ActionSelectionPopover/

Item {
    Action {
        id: action1
        text: "Action one"
        onTriggered: print(text)
    }
    Action {
        id: action2
        text: "Action two"
        onTriggered: print(text)
    }
    Action {
        id: action3
        text: "Action three"
        onTriggered: print(text)
    }
    ActionListPopover {
        actions: [action1, action3]
        delegate: ListItems.Standard {
            text: action.text
        }
    }
}

The above "ActionListPopover" should be replaced by "ActionSelectionPopover" API instead. There is no such API for "ActionListPopover".

Best regards,
XiaoGuo

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.