18 import Ubuntu.Components 0.1
19 import
"../Components"
24 objectName:
"notificationList"
28 spacing: delegate.fullscreen ? 0 : units.gu(.5)
30 currentIndex: (currentIndex < 1 && count > 1) ? 1 : -1
32 delegate: Notification {
33 objectName:
"notification" + index
40 iconSource: model.icon
41 secondaryIconSource: model.secondaryIcon
42 summary: model.summary
44 actions: model.actions
45 notificationId: model.id
46 notification: notificationList.model.getRaw(notificationId)
47 maxHeight: notificationList.height
48 margins: notificationList.margin
52 layer.enabled: add.running ||
remove.running || populate.running
55 populate: Transition {
56 UbuntuNumberAnimation {
59 duration: UbuntuAnimation.SnapDuration
64 UbuntuNumberAnimation {
67 duration: UbuntuAnimation.SnapDuration
72 UbuntuNumberAnimation {
78 displaced: Transition {
79 UbuntuNumberAnimation {
81 duration: UbuntuAnimation.SnapDuration