setWindowTitle()GUI


Allows the user to dynamically set the title of the window.

Syntax

puter.ui.setWindowTitle(title)

Parameters

title (String)

The new title for this window.

Examples

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ui.setWindowTitle('Fancy New Title');
    </script>
</body>
</html>