Configuration options
type Config = {
/** The actual Promo Widget configuration. */
alert: AlertConfig;
/** The client identifier, provided during account creation. */
client: string;
/**
* The language code you want to pass onto the show player
* in a multi-language environment.
*/
language: LanguageCode; // e.g. 'en'
/** Locale information required for rendering date information. */
locale?: string; // e.g. 'en-US'
/** Localisable text values, used by the Web SDK. */
localisation?: {
/** Caption displayed, when the promoted show's countown is completed. */
alertCountdownComplete?: string;
/** Caption displayed, while the promoted show's countown is running. */
alertCountdownCaption?: string;
/** Caption displayed, when the promoted show is currently live. */
alertLiveCaption?: string;
/** Caption displayed, when the promoted show's replay is available. */
alertReplayCaption?: string;
};
/** (URL encoded) query string, you want to pass onto the live show landing page. */
querystring?: string;
/** The store identifier you want to pass onto the show in a multi-store environment. */
store?: string;
}Type definition
Last updated