Skip to main content
Logo
Explore APIsContact Us
  • Home
  • Match Preview
  • Tournament Preview
  • Virtual Stadium
  1. Resources
  2. Widgets
  3. Widget Integration Examples & Tutorials

Widget Integration Examples & Tutorials

Hands-on tutorials covering common integration patterns, advanced techniques, and real-world scenarios.


#Essential Integration Patterns

Loading Indicators

Add custom loading states while widgets initialize. Learn the onTrack callback and improve perceived performance.

Widget Loading

Visibility Control

Manage widget visibility in carousels and sliders. Two approaches: preserve space or collapse layout.

Carousel Scrollers

Conditional Display

Show widgets only when they load successfully. Perfect for tab interfaces and dynamic UIs.

onTrack Error

#Widget Communication & Advanced Patterns

Widget Rotation

Automatically rotate through multiple matches. Includes pause/resume and manual navigation.

Widget Rotator

ShadowDOM Integration

Advanced: Integrate widgets inside Shadow DOM with proper styling and event handling.

Shadowdom Mutationobserver

#Customization & Regional Settings

US Sports Configuration

Configure widgets for US markets: 12-hour clock, team positioning, score separators.

US Integration

Tab Customization

Customize tab appearance, icons, alignment, and behavior to match your design.

Customizing Tabs

#Quick Reference

TutorialDifficultyKey Topics
Loading IndicatorsonTrack, loading states, data_change event
Visibility Controldisplay, visibility, resize events
Conditional DisplayError handling, DOM manipulation
Widget RotationaddWidget, removeWidget, intervals
US IntegrationRegional settings, configuration
Tab CustomizationCSS customization, tab configuration
ShadowDOM IntegrationShadow DOM, MutationObserver

#Need More Help?

Getting Started

New to widgets? Start with the complete getting started guide.

Getting Started

Main Documentation

Browse all widget documentation, APIs, and references.

Integration Tutorials

Troubleshooting

Having issues? Check the troubleshooting guide.

Troubleshooting
Last updated 11 days ago
Is this site helpful?
Widgets, Engagement Tools
SportsCustomizing Widget Tabs
On this page
  • Essential Integration Patterns
  • Widget Communication & Advanced Patterns
  • Customization & Regional Settings
  • Quick Reference
  • Need More Help?