UNPKG

@oat-sa/tao-item-runner-qti

Version:
15 lines (13 loc) 384 B
/** * List of interactable PCIs */ const interactablePcis = ['textReaderInteraction', 'audioRecordingInteraction']; /** * Returns a boolean based on weather the PCI should allow interaction or not in review mode * * @param {String} pciType * @returns {Boolean} */ export const isInteractionDisabledForPci = pciType => { return interactablePcis.indexOf(pciType) === -1; };