Back to articles
Exit Intent Bootstrap 5 Modal Plugin in JS & jQuery

Exit Intent Bootstrap 5 Modal Plugin in JS & jQuery

via Dev.to WebdevjQueryScript

Exit Modal: a lightweight Bootstrap 5 exit intent popup plugin for Vanilla JS and jQuery. Key features: • Detects cursor exit intent via mousemove, mouseout, and mouseleave • Ships as both a Vanilla JS class and a jQuery plugin — identical config API for both • Wraps Bootstrap 5's native Modal API directly • Configurable display cap and Y-axis detection threshold • Four lifecycle callbacks for full control over the modal cycle 👉 Blog Post 👉 GitHub Repo 👉 Live Demo

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles