Options

Liveshop Web SDK - Widget Button Options

Liveshop Web SDK - Widget Options

This documentation explains all possible options of using Widget feature in Liveshop Web SDK

PropertyTypeRequiredDetails
livestringSets the live link (default: null)
bgstringSets a background to the button. It accept jpeg, jpg, png or gif format (default: null)
positionX"left" | "right"Sets the horizontal position (default: "right")
positionY"up" | "down"Sets the vertical position (default: "down")
sizePositionXnumberSets the horizontal button space relative to the screen (default: 30)
sizePositionYnumberSets the vertical button space relative to the screen (default: 30)
heightnumberButton height (default: 70)
widthnumberButton width (default: 70)
animationbooleanSet false to disable button animation (default: true)
borderRadiusnumberButton border radius (default: 999)
afterClosecallbackFn()Callback function that is fired after user close the live
onHoverHover InterfaceCheck out the hover parameter documentation
display"side" | "cinema"Set how fullscreen will display (default: "side")