import QtQuick 2.0 import com.canonical.Oxide 1.0 Item { width: 200 height: 200 property var webview: null Component { id: webviewComponent WebView { anchors.fill: parent visible: this === webview onLoadingChanged: { if (loadEvent.status === WebView.TypeSucceeded) { console.log(url, "loaded") } } } } Component.onCompleted: webview = webviewComponent.createObject(this) Timer { interval: 1000 running: webview !== null onTriggered: webview.url = "http://ubuntu.com" } }