Guides

Collection Bridge

When setting up the Collection Library provided by Saucelive, you can define pre-configured actions such as broadcast card click and product click through function declarations.
You can also define custom actions tailored to your specific use case.

The basic configuration can be applied after initializing the Collection Library using the following setup method:

// ex) In the Collection view, clicking a broadcast card navigates to the predefined broadcast URL.
 function flexCollectMoveBroadcast(params){
         console.log('flexCollectMoveBroadcast',params)
     }
// After declaring the handler, clicking a broadcast card will log the broadcast data to the console,
// and the default navigation to the broadcast URL will be prevented.


The function definitions provided by the Saucelive Collection Library can be found in the Payload Definition .