Interface: OverlayDetection
A single occurrence of an overlay interrupting an action.
Example
const detection: OverlayDetection = handler.detections[0];
logger.info(detection.rule); // 'unexpected-dialog'
Properties
dismissed
readonlydismissed:boolean
Whether a dismiss function ran successfully.
error?
readonlyoptionalerror?:string
Message from a failed dismissal, when one occurred.
rule
readonlyrule:string
Name of the rule that fired.
text
readonlytext:string
Trimmed text content of the overlay, for diagnosis.