Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function getSwalContentContent() {
const content = swal.getContent()
return content && content.querySelector('#swal2-content')
}
public readonly content = () => Swal.getContent();