Xsolla::Core::WebGlAppearance
Public Attributes
| Name | |
|---|---|
| bool? | iframeOnly Open payment UI in iframe on all devices. |
| string | widgetWidth Width of the widget. Default is 740px. |
| string | widgetHeight Height of the widget. Default is 760px. |
| int? | zIndex Controls the vertical stacking order (z-index). Default is 1000. |
| float? | overlayOpacity Opacity of the overlay (range: 0 to 1). Default is 0.6. |
| string | overlayBackgroundColor Overlay background color in hex format. Default is #000000. |
| bool? | isModal If true, the widget frame can’t be closed. Default is false. |
| bool? | closeByClickOverlay If true, clicking on the overlay will close the widget. Default is true. |
| bool? | closeByKeyboardEscape If true, pressing the ESC key closes the widget. Default is true. |
| string | contentBackgroundColor Background color of the widget in hex format. Default is ‘#ffffff’. |
| string | contentMargin Margin around the widget frame. Default is ‘10px’. |
| string | spinnerType Type of animated loading spinner. Options: ‘xsolla’, ‘round’, ’none’, or ‘custom’. Default is ‘round’. |
| string | spinnerColor Spinner color in hex format. Default is ‘#cccccc’. |
| string | spinnerUrl URL of the custom spinner. Default is null. |
| float? | spinnerRotationPeriod Rotation period of the custom spinner in seconds. Default is 0. |
Public Attributes Documentation
variable iframeOnly
bool? iframeOnly;
Open payment UI in iframe on all devices.
variable widgetWidth
string widgetWidth;
Width of the widget. Default is 740px.
variable widgetHeight
string widgetHeight;
Height of the widget. Default is 760px.
variable zIndex
int? zIndex;
Controls the vertical stacking order (z-index). Default is 1000.
variable overlayOpacity
float? overlayOpacity;
Opacity of the overlay (range: 0 to 1). Default is 0.6.
variable overlayBackgroundColor
string overlayBackgroundColor;
Overlay background color in hex format. Default is #000000.
variable isModal
bool? isModal;
If true, the widget frame can’t be closed. Default is false.
variable closeByClickOverlay
bool? closeByClickOverlay;
If true, clicking on the overlay will close the widget. Default is true.
variable closeByKeyboardEscape
bool? closeByKeyboardEscape;
If true, pressing the ESC key closes the widget. Default is true.
variable contentBackgroundColor
string contentBackgroundColor;
Background color of the widget in hex format. Default is ‘#ffffff’.
variable contentMargin
string contentMargin;
Margin around the widget frame. Default is ‘10px’.
variable spinnerType
string spinnerType;
Type of animated loading spinner. Options: ‘xsolla’, ‘round’, ’none’, or ‘custom’. Default is ‘round’.
variable spinnerColor
string spinnerColor;
Spinner color in hex format. Default is ‘#cccccc’.
variable spinnerUrl
string spinnerUrl;
URL of the custom spinner. Default is null.
variable spinnerRotationPeriod
float? spinnerRotationPeriod;
Rotation period of the custom spinner in seconds. Default is 0.
Found a typo or other text error? Select the text and press Ctrl+Enter.