114 + onUrlChanged: {
119 + function loadNewTabView() {
125 + function unloadNewTabView() {
There is a more declarative way of writing this: have a Component that contains a NewTabView inside the loader, and set the 'sourceComponent' property of the loader to "parent.url ? undefined : newTabViewComponent".
114 + onUrlChanged: {
119 + function loadNewTabView() {
125 + function unloadNewTabView() {
There is a more declarative way of writing this: have a Component that contains a NewTabView inside the loader, and set the 'sourceComponent' property of the loader to "parent.url ? undefined : newTabViewCompo nent".