Created
June 25, 2018 06:49
-
-
Save vviikk/896e810bc6d7f5c8919bbb519b659c14 to your computer and use it in GitHub Desktop.
SVG with js test
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
<svg version="1.1" id="loader-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |
width="40px" height="40px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"> | |
<circle cx="40" cy="40" r="50" fill="red" /> | |
<script type="text/javascript"> | |
window.addEventListener('load',function(){ | |
console.log('test') | |
}) | |
</script> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment