mobile

mobile is an object with the following properties:


  • delayInSecondsToTrigger - delay in seconds to trigger the exit intent handlers
  • triggerOnIdle - if true, the exit intent handlers will be triggered when the user is idle

Default

delayInSecondsToTrigger: 10
triggerOnIdle: true

Example

useExitIntent({
  mobile: {
    delayInSecondsToTrigger: 10,
    triggerOnIdle: true
  }
})