Morph.Web documentation
-
I'm wanting to create a webapp+ using Morph.
Is there any documentation on using Morph.Web?
I've looked at a few apps in the OpenStore but non seem to help. with several issues I have.
I've having issues trying to create a bank app opening its website and resizing the page like it would when opening the same site using the UT Morph browser.
The second issue is I have a little blank window created along with the website.
here is a snippet of the main.qmlcoimport QtQuick 2.9 import QtQuick.Controls 2.2 import QtWebEngine 1.7 import Morph.Web 0.1 //import "components" ApplicationWindow { color: '#000000' width: units.gu(45) height: units.gu(75) visible: true id:application WebEngineView { id: webview //anchors.fill: parent anchors { top: parent.top left: parent.left right: parent.right bottom: parent.bottom } focus: true url: "https://www.wellsfargo.com/" profile: WebEngineProfile { id: webContext httpUserAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36" storageName: "Storage" persistentStoragePath: "/home/phablet/.cache/mnjrupp.wellsfargo/mnjrupp.wellsfargo/QtWebEngine" } }
-
The docs for
Ubuntu.Web
will work, simply replaceUbuntu.Web
withMorph.Web
for the imports. https://api-docs.ubports.com/sdk/apps/qml/Ubuntu.Web/index.html -