File: src\internal\api\modalities\renderingContext.ts
/// <reference path="constants.ts" />
/**
* @module API
* @submodule API Modalities
* @namespace api.modalities
*/
namespace internal.api.modalities {
/**
* Class representing Rendering Context
* @class RenderingContext
*/
export class RenderingContext {
/**
* String key identifying the Assisted Support Compass object with confirmation text
* @property {string} confirmationTextId
*/
public readonly confirmationTextId: string;
/**
* String key identifying the Assisted Support Compass object with warning text
* @property {string} warningTextId
*/
public readonly warningTextId: string;
/**
* Object of key/value pairs to apply to modality link dynamic keys
* @property {string} modalityLinkValues
*/
public readonly modalityLinkValues: Object;
constructor(confirmationTextId?: string, warningTextId?: string, modalityLinkValues?: Object) {
this.confirmationTextId = confirmationTextId;
this.warningTextId = warningTextId;
this.modalityLinkValues = modalityLinkValues;
}
}
}