Created
October 20, 2018 07:11
-
-
Save mmmpa/a6ee46375e66476936b6484bf43595a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document | |
.querySelector('#hello') | |
.addEventListener( | |
'click', | |
() => swal({ | |
title: 'Hello HeartRails!', | |
text: 'This alert is created by SweetAlert.', | |
icon: "success", | |
}) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment