์ƒˆ์†Œ์‹

Languages/Java Script

[Js] ๋งˆ์šฐ์Šค | jQuery ์ด๋ฒคํŠธ | on ApI ์‚ฌ์šฉ๋ฒ•

  • -
๋ฐ˜์‘ํ˜•

๋ชจ๋“  ํฌ์ŠคํŒ…์€ ์ธํ”„๋Ÿฐ [์ƒํ™œ์ฝ”๋”ฉ] ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๊ฐ•์˜์˜ ๋‚ด์šฉ์„ ๋‹ด๊ณ  ์žˆ์œผ๋ฉฐ

์ถœ์ฒ˜๋Š” ์•„๋ž˜์˜ ์ฃผ์†Œ๋กœ "egoing Lee"๋‹˜์˜ ์ž๋ฃŒ์ž…๋‹ˆ๋‹ค. 

์ƒ์—…์ ์ธ ์˜๋„๊ฐ€ ์•„๋‹Œ ๊ณต๋ถ€ํ•œ ๊ฒƒ์„ ์ •๋ฆฌํ•ด๋†“๋Š” ๋ชฉ์ ์œผ๋กœ ํฌ์ŠคํŒ… ํ•œ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

 

www.inflearn.com/course/javascript-%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8-%EA%B0%95%EC%A2%8C#

 

์›น๋ธŒ๋ผ์šฐ์ € Javascript (์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ) - ์ธํ”„๋Ÿฐ

์ƒํ™œ์ฝ”๋”ฉ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๊ฐ•์ขŒ ์ž…๋‹ˆ๋‹ค. ์›น๋ธŒ๋ผ์šฐ์ €๋ฅผ ์ง์ ‘ ์ œ์–ดํ•  ์ˆ˜ ์žˆ๋Š” ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๋ ˆํผ๋Ÿฐ์Šค๋ฅผ ๊ณต๋ถ€ํ•ด ๋ด…๋‹ˆ๋‹ค. ์ดˆ๊ธ‰ ์›น ๊ฐœ๋ฐœ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด JavaScript ์˜จ๋ผ์ธ ๊ฐ•์˜ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๊ฐ•์ขŒ

www.inflearn.com


๋งˆ์šฐ์Šค

์ด๋ฒคํŠธ ํƒ€์ž…

์›น๋ธŒ๋ผ์šฐ์ €๋Š” ๋งˆ์šฐ์Šค์™€ ๊ด€๋ จํ•ด์„œ ๋‹ค์–‘ํ•œ ์ด๋ฒคํŠธ ํƒ€์ž…์„ ์ง€์›ํ•œ๋‹ค.

  • click
    ํด๋ฆญํ–ˆ์„ ๋•Œ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ. 
  • dblclick
    ๋”๋ธ”ํด๋ฆญ์„ ํ–ˆ์„ ๋•Œ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ
  • mousedown
    ๋งˆ์šฐ์Šค๋ฅผ ๋ˆ„๋ฅผ ๋•Œ ๋ฐœ์ƒ
  • mouseup
    ๋งˆ์šฐ์Šค๋ฒ„ํŠผ์„ ๋•” ๋•Œ ๋ฐœ์ƒ
  • mousemove
    ๋งˆ์šฐ์Šค๋ฅผ ์›€์ง์ผ ๋•Œ
  • mouseover
    ๋งˆ์šฐ์Šค๊ฐ€ ์—˜๋ฆฌ๋จผํŠธ์— ์ง„์ž…ํ•  ๋•Œ ๋ฐœ์ƒ
  • mouseout
    ๋งˆ์šฐ์Šค๊ฐ€ ์—˜๋ฆฌ๋จผํŠธ์—์„œ ๋น ์ ธ๋‚˜๊ฐˆ ๋•Œ ๋ฐœ์ƒ
  • contextmenu
    ์ปจํ…์ŠคํŠธ ๋ฉ”๋‰ด๊ฐ€ ์‹คํ–‰๋  ๋•Œ ๋ฐœ์ƒ

ํ‚ค๋ณด๋“œ ์กฐํ•ฉ

๋งˆ์šฐ์Šค ์ด๋ฒคํŠธ๊ฐ€ ํ˜ธ์ถœ๋  ๋•Œ ํŠน์ˆ˜ํ‚ค(alt, ctrl, shift)๊ฐ€ ๋ˆŒ๋ ค์ง„ ์ƒํƒœ๋ฅผ ๊ฐ์ง€ํ•ด์•ผ ํ•œ๋‹ค๋ฉด ์ด๋ฒคํŠธ ๊ฐ์ฒด์˜ ํ”„๋กœํผํ‹ฐ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. ์ด ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ํ”„๋กœํผํ‹ฐ๋Š” ์•„๋ž˜์™€ ๊ฐ™๋‹ค.

  • event.shiftKey
  • event.altKey
  • event.ctrlKey

๋งˆ์šฐ์Šค ํฌ์ธํ„ฐ ์œ„์น˜

๋งˆ์šฐ์Šค ์ด๋ฒคํŠธ์™€ ๊ด€๋ จํ•œ ์ž‘์—…์—์„œ๋Š” ๋งˆ์šฐ์Šค ํฌ์ธํ„ฐ์˜ ์œ„์น˜๋ฅผ ์•Œ์•„๋‚ด๋Š” ๊ฒƒ์ด ์ค‘์š”ํ•  ๋•Œ๊ฐ€ ์žˆ๋Š”๋ฐ ์ด๋Ÿฐ ๊ฒฝ์šฐ ์ด๋ฒคํŠธ ๊ฐ์ฒด์˜ clientX์™€ clientY๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค

.

์˜ˆ์ œ

์•„๋ž˜ ์˜ˆ์ œ๋Š” ์ง€๊ธˆ๊นŒ์ง€ ์‚ดํŽด๋ณธ ์ด๋ฒคํŠธ์™€ ๊ด€๋ จ๋œ ๊ธฐ๋Šฅ์„ ์ข…ํ•ฉ์ ์œผ๋กœ ๋ณด์—ฌ์ค€๋‹ค. (์‹คํ–‰)

<html>
    <head>
        <style>
            body{
                background-color: black;
                color:white;
            }
            #target{
                width:200px;
                height:200px;
                background-color: green;
                margin:10px;
            }
            table{
                border-collapse: collapse;
                margin:10px;
                float: left;
                width:200px;
            }
            td, th{
                padding:10px;
                border:1px solid gray;
            }
        </style>
    </head>
    <body>
        <div id="target">
 
        </div>
        <table>
            <tr>
                <th>event type</th>
                <th>info</th>
            </tr>
            <tr>
                <td>click</td>
                <td id="elmclick"></td>
            </tr> 
            <tr>
                <td>dblclick</td>
                <td id="elmdblclick"></td>
            </tr>
            <tr>
                <td>mousedown</td>
                <td id="elmmousedown"></td>
            </tr>         
            <tr>
                <td>mouseup</td>
                <td id="elmmouseup"></td>
            </tr>         
            <tr>
                <td>mousemove</td>
                <td id="elmmousemove"></td>
            </tr>         
            <tr>
                <td>mouseover</td>
                <td id="elmmouseover"></td>
            </tr>         
            <tr>
                <td>mouseout</td>
                <td id="elmmouseout"></td>
            </tr>
            <tr>
                <td>contextmenu</td>
                <td id="elmcontextmenu"></td>
            </tr>         
        </table>
        <table>
            <tr>
                <th>key</th>
                <th>info</th>
            </tr>
            <tr>
                <td>event.altKey</td>
                <td id="elmaltkey"></td>
            </tr>
            <tr>
                <td>event.ctrlKey</td>
                <td id="elmctrlkey"></td>
            </tr>
            <tr>
                <td>event.shiftKey</td>
                <td id="elmshiftKey"></td>
            </tr>
        </table>
        <table>
            <tr>
                <th>position</th>
                <th>info</th>
            </tr>
            <tr>
                <td>event.clientX</td>
                <td id="elemclientx"></td>
            </tr>
            <tr>
                <td>event.clientY</td>
                <td id="elemclienty"></td>
            </tr>
        </table>
        <script>
        var t = document.getElementById('target');
        function handler(event){
            var info = document.getElementById('elm'+event.type);
            var time = new Date();
            var timestr = time.getMilliseconds();
            info.innerHTML = (timestr);
            if(event.altKey){
                document.getElementById('elmaltkey').innerHTML = timestr;
            }
            if(event.ctrlKey){
                document.getElementById('elmctrlkey').innerHTML = timestr;
            }
            if(event.shiftKey){
                document.getElementById('elmshiftKey').innerHTML = timestr;
            }
            document.getElementById('elemclientx').innerHTML = event.clientX;
            document.getElementById('elemclienty').innerHTML = event.clientY;
        }
        t.addEventListener('click', handler);
        t.addEventListener('dblclick', handler);
        t.addEventListener('mousedown', handler);
        t.addEventListener('mouseup', handler);
        t.addEventListener('mousemove', handler);
        t.addEventListener('mouseover', handler);
        t.addEventListener('mouseout', handler);
        t.addEventListener('contextmenu', handler);
        </script>
    </body>
</html>

 

์‹คํ–‰ ๊ฒฐ๊ณผ


jQuery ์ด๋ฒคํŠธ

jQuery๋Š” ์ด๋ฒคํŠธ์™€ ๊ด€๋ จํ•ด์„œ ํŽธ๋ฆฌํ•œ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•œ๋‹ค.  ์•„๋ž˜ ์˜ˆ์ œ๋Š” ์ง์ ‘ ์ด๋ฒคํŠธ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์„ ํ•˜๋Š” ๊ฒƒ๊ณผ jQuery๋ฅผ ์ด์šฉํ•˜๋Š” ๊ฒƒ์˜ ์ฐจ์ด์ ์„ ๋ณด์—ฌ์ค€๋‹ค. (์‹คํ–‰)

<input type="button" id="pure" value="pure" />
<input type="button" id="jquery" value="jQuery" />
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
    // ์ˆœ์ˆ˜ํ•˜๊ฒŒ ๊ตฌํ˜„ํ–ˆ์„ ๋•Œ
    var target = document.getElementById('pure');
    if(target.addEventListener){
        target.addEventListener('click', function(event){
            alert('pure');
        });
    } else {
        target.attachEvent('onclick', function(event){
            alert('pure');
        });
    }
 
    // jQuery๋ฅผ ์‚ฌ์šฉํ–ˆ์„ ๋•Œ
    $('#jquery').on('click', function(event){
        alert('jQuery');
    })
</script>

์ฝ”๋“œ ๋ถ„๋Ÿ‰์— ํฐ์ฐจ์ด๊ฐ€ ์žˆ๋‹ค. jQuery๋Š” ํฌ๋กœ์Šค ๋ธŒ๋ผ์šฐ์ง•์„ ์•Œ์•„์„œ ์ฒ˜๋ฆฌํ•ด์ฃผ๊ณ , ์ด๋ฒคํŠธ๋ฅผ ๋ณด๋‹ค ์ ์€ ์ฝ”๋“œ๋กœ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ด์ค€๋‹ค.

์ด๋Ÿฐ ์ด์œ  ๋•Œ๋ฌธ์— jQuery์™€ ๊ฐ™์€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ด๋‹ค. 


on API ์‚ฌ์šฉ๋ฒ•

๊ธฐ๋ณธ ์‚ฌ์šฉ๋ฒ•

on์€ jQuery์—์„œ ๊ฐ€์žฅ ์ค‘์š”ํ•œ ์ด๋ฒคํŠธ API์ด๋‹ค. on API๋ฅผ ํ†ตํ•ด์„œ jQuery์—์„œ ์ด๋ฒคํŠธ๋ฅผ ๋‹ค๋ฃจ๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณด์ž.

on์˜ ๊ธฐ๋ณธ์ ์ธ ๋ฌธ๋ฒ•์€ ์•„๋ž˜์™€ ๊ฐ™๋‹ค.

.on( events [, selector ] [, data ], handler(eventObject) )
  • event : ๋“ฑ๋กํ•˜๊ณ ์ž ํ•˜๋Š” ์ด๋ฒคํŠธ ํƒ€์ž…์„ ์ง€์ •ํ•œ๋‹ค. (์˜ˆ: "click")
  • selector : ์ด๋ฒคํŠธ๊ฐ€ ์„ค์น˜๋œ ์—˜๋ฆฌ๋จผํŠธ์˜ ํ•˜์œ„ ์—˜๋ฆฌ๋จผํŠธ๋ฅผ ์ด๋ฒคํŠธ ๋Œ€์ƒ์œผ๋กœ ํ•„ํ„ฐ๋งํ•จ
  • data : ์ด๋ฒคํŠธ๊ฐ€ ์‹คํ–‰๋  ๋•Œ ํ•ธ๋“ค๋Ÿฌ๋กœ ์ „๋‹ฌ๋  ๋ฐ์ดํ„ฐ๋ฅผ ์„ค์ •ํ•จ
  • handler : ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ ํ•จ์ˆ˜

[]๋กœ ๊ด„ํ˜ธ๊ฐ€ ์ณ์ ธ์žˆ๋Š” ๊ฒƒ๋“ค์€ ์ƒ๋žต์ด ๊ฐ€๋Šฅํ•˜๋‹ค.

 

selector(:์ƒ๋žต ๊ฐ€๋Šฅ)

selector ํŒŒ๋ผ๋ฏธํ„ฐ๋Š” ์ด๋ฒคํŠธ ๋Œ€์ƒ์„ ํ•„ํ„ฐ๋งํ•œ๋‹ค. ์•„๋ž˜ ์˜ˆ์ œ๋ฅผ ๋ณด์ž.

<ul>
    <li><a href="#">HTML</a></li>
    <li><a href="#">CSS</a></li>
    <li><a href="#">JavaScript</a></li>
</ul>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
    $('ul').on('click','a, li', function(event){
        console.log(this.tagName);
    })
</script>

ul์—˜๋ฆฌ๋จผํŠธ์˜ ์ด๋ฒคํŠธ๋ฅผ ๋‹ฌ์•˜์ง€๋งŒ, a, li ํด๋ฆญ ์‹œ click์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ๋ฅผ ์„ค์น˜ ํ•œ ๊ฒƒ์ฒ˜๋Ÿผ ๋™์ž‘ํ•œ๋‹ค.

 

์‹คํ–‰๊ฒฐ๊ณผ

A
LI

์œ„์˜ ์˜ˆ์ œ๋Š” ul ์—˜๋ฆฌ๋จผํŠธ์˜ ํ•˜์œ„ ์—˜๋ฆฌ๋จผํŠธ ์ค‘์—  a, li ์—˜๋ฆฌ๋จผํŠธ๋“ค์— ๋Œ€ํ•ด์„œ๋งŒ ์ด๋ฒคํŠธ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค. ์ฃผ์˜ ํ•  ๊ฒƒ์€ ul ์—˜๋ฆฌ๋จผํŠธ๋Š” ์ด๋ฒคํŠธ๊ฐ€ ๋ฐœ์ƒํ•˜์ง€ ์•Š๋Š”๋‹ค๋Š” ์ ์ด๋‹ค.

์ด๊ฒƒ์€ jQuery์—์„œ ์ด๋ฒคํŠธ ๋ฒ„๋ธ”๋ง์„ ๊ตฌํ˜„ํ•˜๋Š” ๋ฐฉ๋ฒ•์ด๊ธฐ๋„ ํ•˜๋‹ค.

 

์…€๋ ‰ํ„ฐ๋Š” ์ค‘์š”ํ•œ ํ•˜๋‚˜์˜ ๊ธฐ๋Šฅ์„ ๊ฐ€์ง€๊ณ  ์žˆ๋Š”๋ฐ, ๊ทธ๊ฒƒ์ด ๋ฐ”๋กœ ๋Šฆ์€ ์—ฐ๊ฒฐ "late binding"์ด๋ผ๋Š” ๊ธฐ๋Šฅ์ด๋‹ค.

 

late binding

jQuery๋Š” ์กด์žฌํ•˜์ง€ ์•Š๋Š” ์—˜๋ฆฌ๋จผํŠธ์—๋„ ์ด๋ฒคํŠธ๋ฅผ ๋“ฑ๋กํ•  ์ˆ˜ ์žˆ๋Š” ๋†€๋ผ์šด ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•œ๋‹ค. ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ๋ณด์ž. 

<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
    $('ul').on('click','a, li', function(event){
        console.log(this.tagName);
    })
</script>
<ul>
    <li><a href="#">HTML</a></li>
    <li><a href="#">CSS</a></li>
    <li><a href="#">JavaScript</a></li>
</ul>

์œ„์˜ ์ฝ”๋“œ๋Š” ์‹คํ–‰๋˜์ง€ ์•Š๋Š”๋‹ค. ul ์—˜๋ฆฌ๋จผํŠธ๊ฐ€ ์กด์žฌํ•˜์ง€ ์•Š์„ ๋•Œ ์ด๋ฒคํŠธ ์„ค์น˜๋ฅผ ์‹œ๋„ํ•˜๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค.

 

์กด์žฌํ•˜์ง€ ์•Š๋Š” ์—˜๋ฆฌ๋จผํŠธ์— ์ด๋ฒคํŠธ๋ฅผ ๋‹ฌ ์ˆ˜ ์—†๋‹ค๋Š” ๊ฒƒ์€ ์ด๋ฏธ ๋ฐฐ์šด ๋ฐ”๊ฐ€ ์žˆ๋‹ค. ๊ทธ๋Ÿฐ๋ฐ jQuery๋Š” ์กด์žฌํ•˜์ง€ ์•Š๋Š” ์—˜๋ฆฌ๋จผํŠธ์—๊ฒŒ๋„ ์ด๋ฒคํŠธ๋ฅผ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ๋‹ค. 

<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
    $('body').on('click','a, li', function(event){
        console.log(this.tagName);
    })
</script>
<ul>
    <li><a href="#">HTML</a></li>
    <li><a href="#">CSS</a></li>
    <li><a href="#">JavaScript</a></li>
</ul>

์ฆ‰, ์•„์ง ์•Œ์ง€ ๋ชปํ•˜๋Š” ulํƒœ๊ทธ๊ฐ€ ์•„๋‹Œ, ์กด์žฌ ํ•˜๊ณ  ์žˆ๋Š” ๊ฒƒ์ด ํ™•์ธ ๋œ, body ํƒœ๊ทธ๋ฅผ ์‹คํ–‰ ์‹œํ‚ค๋ฏ€๋กœ์จ ๋‚˜์ค‘์— ์ถ”๊ฐ€๋˜๋Š” ์—˜๋ฆฌ๋จผํŠธ์˜ ๋Œ€ํ•œ ์ด๋ฒคํŠธ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒƒ์ด๋‹ค.

(์˜ˆ์ „์—๋Š” live๋กœ ์‚ฌ์šฉํ–ˆ์—ˆ์œผ๋‚˜ ์ด์   ์•ˆ๋จ)

 

 

๋‹ค์ค‘ ๋ฐ”์ธ๋”ฉ

ํ•˜๋‚˜์˜ ์—˜๋ฆฌ๋จผํŠธ์— ์—ฌ๋Ÿฌ๊ฐœ์˜ ์ด๋ฒคํŠธ ํƒ€์ž…์„ ๋™์‹œ์— ๋“ฑ๋กํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณด์ž. (์‹คํ–‰)

<input type="text" id="target" />
<p id="status"></p>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
    $('#target').on('focus blur', function(e){
        $('#status').html(e.type);
    })
</script>

focus์™€ blur์‚ฌ์ด์— ๊ณต๋ฐฑ์„ ํ†ตํ•ด ๋‘๊ฐ€์ง€์˜ ์ด๋ฒคํŠธ ํƒ€์ž…์„ ๋™์‹œ์— ๋“ฑ๋กํ•˜์˜€๋‹ค.

 

ํ•œ๋ฒˆ์— ์—ฌ๋Ÿฌ๊ฐœ์˜ ์ด๋ฒคํŠธ ํƒ€์ž…์„ ์„ ํƒํ–ˆ๋‹ค. ๋งŒ์•ฝ ์ด๋ฒคํŠธ์— ๋”ฐ๋ผ์„œ ๋‹ค๋ฅธ ํ•ธ๋“ค๋Ÿฌ๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ์ฝ”๋“œ๋ฅผ ๋ณ€๊ฒฝํ•œ๋‹ค.

<input type="text" id="target" />
<p id="status"></p>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>

<script>
    $('#target').on({
        'focus' : function(e){
 
        }, 
        'blur' : function(e){
             
        }
    })
</script>

 

์ด๋ฒคํŠธ ์ œ๊ฑฐ

์ด๋ฒคํŠธ๋ฅผ ์ œ๊ฑฐํ•  ๋•Œ๋Š” off๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค.

<input type="text" id="target"></textarea>
<input id="remove"  type="button" value="remove" />
<p id="status"></p>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script>
  var handler = function(e){
    $('#status').text(e.type+Math.random());
  };
  $('#target').on('focus blur', handler)
  $('#remove').on('click' , function(e){
    $('#target').off('focus blur', handler);
    console.log(32);
  })
</script>
<input type="text" id="target"></textarea>
<input id="remove"  type="button" value="remove" />
<p id="status"></p>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script>
  var handler = function(e){
    $('#status').text(e.type+Math.random());
  };
  $('#target').on('focus blur', handler)
  $('#target').on('focus' , function(e){
  	alert('test');
  });
    $('#remove').on('click', function(e){
    	$('#target').off('focus blur');
  })
</script>

์ฆ‰, remove๋ฅผ ํด๋ฆญํ•ด์„œ ์ด๋ฒคํŠธ๋ฅผ ์ œ๊ฑฐํ•˜๋Š” ๊ฒƒ์ด๋‹ค.

๋ฐ˜์‘ํ˜•
Contents

ํฌ์ŠคํŒ… ์ฃผ์†Œ๋ฅผ ๋ณต์‚ฌํ–ˆ์Šต๋‹ˆ๋‹ค

์ด ๊ธ€์ด ๋„์›€์ด ๋˜์—ˆ๋‹ค๋ฉด ๊ณต๊ฐ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.