WidgetPosition is a union of the possible values for the position property of the InitPayload. It can be either a string literal or an object. The string literal is used to set the position of the widget The object is used to set the position of the widget and the padding from the edge of the screen.
type WidgetPosition = 'WidgetPositionSimple' | 'WidgetPositionAdvanced';String literal union: "bottomLeft" | "bottomRight"
WidgetPositionAdvanced: Object
Advanced widget position options, which includes the padding options
| Name | Type |
|---|---|
horizontalPadding? | number |
position | "bottomLeft" | "bottomRight" (WidgetPositionSimple) |
verticalPadding? | number |