Cancels a pending animation frame request tied to the provided request ID

xtag.cancelFrame(FRAME_ID)

ArgumentsTypeDescription
FRAME_IDNumberThe numerical identifier returned when you create an animation frame request using xtag.requestFrame.
var frameID = xtag.requestFrame(function(){ 
  alert('foo') 
});
// Cancels the pending request
xtag.cancelFrame(frameID);