Search Results for: Live Site

  • Wix
    • SDK
    • Wix

    closeWindow([message]) SDK 1.16.0+Live SitePreviewModalPopup Closes the modal or popup endpoint. Parameters: Name TypeDescriptionmessageObjectA custom message to pass to the calling endpoint’s onClose callback function Example: ...

    • SDK
    • Wix.Worker

    Utils.getViewMode( ) → String SDK 1.30.0+New EditorOld EditorLive SitePreviewWorker Returns a String which represents the current view mode.

    • SDK
    • Wix.PubSub

    subscribe(eventName, callBack, receivePastEvents) SDK 1.25.0+New EditorOld EditorLive SitePreviewWidgetFixed-Position WidgetPageModalPopup Subscribes to events from other site components of a multicomponent app. If the components span multiple pages, they will be notified once...

    • SDK
    • Wix.Utils

    getCompId() → String SDK 1.12.0+New EditorOld EditorLive SitePreviewWix DashboardWidgetFixed-Position WidgetPageDashboardModalPopup Returns a String which represents the component's iframe component id. Note: Trying to use this method i...

    • SDK
    • Wix.Styles

    Wix.Styles.getStyleId(callback) Fixed-Position WidgetLive SiteNew EditorPagePreviewSDK v1.65.0+Widget Returns the component’s styleId. The styleId represents a set of style parameters we’ve stored for a specific component - colors, fonts, numbers, and booleans. Once you kno...

    • SDK
    • Wix.Analytics

    trackEvent(eventName, params) SDK 1.93.0+Live SiteWidgetFixed-Position WidgetPageWorker Reports an event in the live site to the user’s analytics tool, like Facebook Pixel or Google Analytics. Parameters: NameTypeDescriptioneventName (required)StringName of the...

    • SDK
    • Wix.Activities

    postActivity(activity, onSuccess, [onFailure]) SDK 1.25.0+Live SiteWidgetFixed-Position WidgetPageModalPopup This method posts an Activity to the current site. When the Activity is successfully created, the id of the activity will be returned. If schema validation fails, or ot...

    • SDK
    • Wix.Data.Public

    get(key, [options], onSuccess, [onFailure]) → Void SDK 1.61.0+New EditorLive SiteWidgetFixed-Position WidgetPageSettings PanelModalPopupWorker (app scope only) Returns the value for a given key. For example, call this method when the iframe loads to display t...