Search...
openDashboardPanel( )
Opens the Dashboard for the current site.
Description
The openDashboardPanel()
function returns a Promise that resolves when the Dashboard is open.
The url
parameter specifies the page to open within the Dashboard.
Syntax
function openDashboardPanel(options: DashboardOptions): Promise<void>
openDashboardPanel Parameters
NAME
TYPE
DESCRIPTION
options
DashboardOptions
Relative URL for the Dashboard page.
Returns
Fulfilled - when the Dashboard is open.
Return Type:
Promise<void>
Was this helpful?
Open a dashboard panel
Copy Code
1import wixEditor from 'wix-editor';23// ...45wixEditor.openDashboardPanel({ url: 'blog' })6 .then(() => {7 // Code to execute after opening the dashboard panel8 })