DevTools API

Use the built-in developer tools to simulate sending and receiving events in local development.

When you open your app directly in the browser the dev tools are automatically enabled.


// If installed with NPM:
import { runtime } from '@raydiant/sdk';
// Or if installed using the global script:
const { runtime } = window.Raydiant;

// Check if dev tools are enabled.

// Simulate receiving 'play' from the playlist runtime.;

// Immediately call play again after complete, simulating a 
// single presentation in the playlist.;

// Stop looping.

Next Steps

Was this article helpful to you?
GitHubProvide feedback

Last edited on January 17, 2024.
GitHubEdit this page