Created
December 14, 2016 21:35
-
-
Save gitaeks/46e3a50de0354d36b9b48c874cf896cb to your computer and use it in GitHub Desktop.
isLoading-Overlay
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
| <div id="example" class="text-xs-center"> | |
| <div class="card"> | |
| <div class="card-block text-xs-center"> | |
| 내용 | |
| </div> | |
| </div> | |
| <button type="button" class="btn btn-secondary">전송</button> | |
| </div> | |
| <!-- http://hekigan.github.io/is-loading/ --> | |
| <script src="./assets/extensions/is-loading/1.0.6/jquery.isloading.js"></script> | |
| <script> | |
| $(function() { | |
| // Action on Click | |
| $("#example .btn").click(function() { | |
| $.isLoading({ text: "로딩중" }); | |
| // Re-enabling event | |
| setTimeout( function(){ | |
| $.isLoading( "hide" ); | |
| $( "#example .card-block" ).html("불러온 컨텐츠") | |
| }, 2000 ); | |
| }); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment