Actions

Create Window

By default, your app will launch with 1 window open (the initial window), and the settings for this window are set in the Deskifier dashboard.

When creating a new window, you can set the initial window properties.

Note: The constructor options can only be set at creation time - these properties can't be updated later. The other window attributes can be changed on the fly as needed by your experience.

Read our style guide for tips on setting your initial constructor options.


Update Window Properties

Set the state your window should be in. Note: Fields are optional. Only properties that are provided will be updated; omitted properties will remain unchanged.


Destroy

Force closes a window, even if the closable property is set to "no".


Execute JavaScript

Runs JavaScript in the designated window. This can be used to trigger events from your Bubble app in external pages & vice versa.

To send a message back to your window from your external window, call this function.

await window.deskifier.invoke('sendWindowMessage', { message, toWindowId })

This will fire the "Window - Message Received" event in your target window.


Send Window Message

Sends an arbitrary message to the target window. Useful for communicating between windows.


Show

Shows a hidden/minimized window.


Minimize

Minimizes the window.


Maximize

Maximizes the window.


Open Dev Tools

Shows the chromium dev tools for the given window.


Center Window

Centers the window in the middle of the screen.


Hide Window

Hides the window. Note this is not the same as minimizing a window. This will put the window into a hidden state that will need to be shown again with the "Window - Show" action.


Unmaximize

Unmaximizes a window.


Focus

Focuses the window. This will also bring the window to the top of the stack.