Wix.Preview

openSettingsDialog

Ends Preview mode and sends Wix users directly from their site’s preview to the App Settings panel in the Editor.

SDK Version: SDK 1.45.0+
Display: Preview
Components: Widget, Pinned (aka Fixed-Position) Widget, Page

When called with no options, uses the Widget or Page that called the method.

Syntax:

コピー
1

Parameters:

名称タイプ説明
options ObjectSpecify the component to open the settings panel for. 
options.compIdStringThe component to open the settings panel for. 
onFailureFunctionCallback is invoked when the he user cancels opening the settings panel or the specified component information is incorrect.

Example:

コピー
1
役に立ちましたか?
はい
いいえ