jQuery ¸¦ ÀÌ¿ëÇÏ¿© ÅؽºÆ®¿¡ ¾Ö´Ï¸ÞÀÌ¼Ç ÇüÅÂÀÇ °Á¶ È¿°ú¸¦ ÁÖ´Â Ç÷¯±×ÀÎ ÀÔ´Ï´Ù.
»ç¿ë¹æ¹ýÀº ¸Å¿ì ½ÉÇà ÇÕ´Ï´Ù.
1. ¶óÀ̺귯¸® È£Ãâ ÇÕ´Ï´Ù.
<script type="text/javascript" src=https://code.jquery.com/jquery-3.4.1.min.js></script>
<script type="text/javascript" src="js/jquery.marker-animation.min.js"></script>
2. ÄÁÅÙÃ÷ ±¸¼º
Hello, Dolly <span class="marker-animation">Well, hello, Dolly</span> Hello, Dolly
marker-animation class ·Î °Á¶È¿°ú¸¦ ÁÖ°í ½ÍÀº ÅؽºÆ®¸¦ °¨½Î ÁÖ¼¼¿ä.
3. Ç÷¯±×ÀÎ ½ÇÇà
<script>
$('.marker-animation').markerAnimation();
</script>
npm ¹öÁ¯ÀÇ °æ¿ì ¿©·¯°¡Áö ¿É¼ÇÀ» Á¦°øÇÏÁö¸¸ ÇöÀç µî·ÏµÈ ÷ºÎÆÄÀÏÀº npm ¹öÁ¯°ú´Â ´Ù¸¥ ¹öÁ¯ÀÓÀ» Âü°í ÇØÁÖ¼¼¿ä.
( Color, thickness, duration, delay, font_weight, repeat, stripe )
npm ¹öÁ¯ »ç¿ëÇϽñæ Èñ¸ÁÇϽô °æ¿ì ¾Æ·¡ÀÇ GIT ¿¡¼ È®ÀÎÇϽñ⠹ٶø´Ï´Ù.
https://github.com/technote-space/jquery.marker-animation#options
MIT License ÀÇ ÀÚ·á ÀÔ´Ï´Ù.
|