Wix.Features

isSupported

Checks if a feature is available for use. The feature name must be one of Wix.Features.Types listed below.

SDK Version: SDK 1.45.0+
Editor Version: New Editor
Display: Preview
Components: Wix Dashboard, Dashboard, Widget, Pinned (aka Fixed-Position) Widget, Page, Settings Panel, Settings Modal

Syntax:

コピー
1

Parameters:

名称タイプ説明
feature (required)Wix.Features.TypesSpecify one of the following features: PREVIEW_TO_SETTINGS (see openSettingsDialog), ADD_COMPONENT (see addComponent), RESIZE_COMPONENT (see resizeComponent)
callback (required)FunctionReturns true via callback if the feature is available for use.

Example:

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