openSettingsDialog([options], [onFailure])
Ends Preview mode and sends Wix users directly from their site’s preview to the App Settings panel in the Editor.
When called with no options, uses the Widget or Page that called the method.
Parameters:
Name | Type | Description |
---|---|---|
options | Object | Specify the component to open the settings panel for. |
compId | String | The component to open the settings panel for. |
onFailure | Function | Callback is invoked when:
|
Example:
1 |
Wix.Preview.openSettingsDialog(); |