Created
November 28, 2015 10:07
-
-
Save aPoCoMiLogin/138f5c2cb77423b20781 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.indigo-pink.min.css"> | |
| </head> | |
| <body> | |
| <script src="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.min.js"></script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
| <script> | |
| !(function(){ | |
| var el = $('<div class="mdl-spinner mdl-spinner--single-color mdl-js-spinner is-active">').appendTo(document.body); | |
| componentHandler.upgradeElement(el.get(0)); | |
| $('<button class="mdl-button mdl-js-button mdl-button--raised">') | |
| .text('delete spinner') | |
| .on('click', function(e){ | |
| e.preventDefault(); | |
| $(document.body).children('.mdl-spinner').remove(); | |
| }) | |
| .appendTo(document.body); | |
| })(); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment