Opens a modal component.
Name | Type | Description |
---|---|---|
componentId | string | ID of the component to show in the modal, as defined in Wix Developer Center. |
componentParams | Record<string, any> | Optional. Custom data to pass into the component, the component may consume this data using observeState |
Note: Do not use relative CSS height units such as vh
in the components passed to this function. The SDK adjusts component heights automatically. If your component uses relative height units by default, make sure to turn them off.
To set up a dashboard client, refer to the setup guide.