15 Accessible.ignored: true
19 property Component component
24 property var showAnimation
29 property var hideAnimation
34 property alias asynchronous: loader.asynchronous
39 property alias item: loader.item
42 readonly property var _loadedItem: loader.item
50 if (status != Loader.Ready)
52 if (root._loadedItem.showAnimation == undefined && root.showAnimation != undefined)
53 root._loadedItem.showAnimation = root.showAnimation;
54 if (root._loadedItem.hideAnimation == undefined && root.hideAnimation != undefined)
55 root._loadedItem.hideAnimation = root.hideAnimation;
57 if (root._loadedItem.show != undefined)
58 root._loadedItem.show();
65 function onVisibleChanged() {
67 if (!(loader.item as Item).visible) {
68 loader.sourceComponent = undefined;
78 loader.sourceComponent = root.component;
85 if (root._loadedItem && root._loadedItem.hide !== undefined)
86 root._loadedItem.hide();