xtag.cancelFrameCancels a pending animation frame request tied to the provided request IDxtag.cancelFrame(FRAME_ID) ArgumentsTypeDescriptionFRAME_IDNumberThe numerical identifier returned when you create an animation frame request using xtag.requestFrame. JavaScriptvar frameID = xtag.requestFrame(function(){ alert('foo') }); // Cancels the pending request xtag.cancelFrame(frameID);