sweetalert 2 target a div rather than entire window?
<p>Is it possible to target a div rather than the entire window for <a href="https://sweetalert2.github.io" rel="nofollow noreferrer">SweetAlert2</a>?</p>

<p>If not is is possible to edit the center coordinates?</p>

<p>The reason I ask is that I have a few JavaScript games that i would like to use this framework with. these are loaded in <code>&lt;div&gt;</code>'s  which are not centered on the page. The sweet alert popup looks strange when it opens as it is miss-aligned.</p>

<p>This is fine for mobile games but not for browser based.</p>

<p>Any help would be great :)</p>