Skip to content

title

Description: Modify the title of the embedded page

const view = await System.UI.findControl('3DViewer1')// Obtain a 3D viewer control named "3DViewer1" in the page
const scene = await view.getScene()// Get the scene in the 3D viewer control
const webview = await scene.findWebView({name:'Webview1'})// Find model
webview.title = 'test title'// Modify the title of the embedded page

Example:

Write the above code on the button, click the button to modify the title of the embedded page. 1