diff options
Diffstat (limited to 'files/ko/web/api/globaleventhandlers/onkeyup/index.html')
-rw-r--r-- | files/ko/web/api/globaleventhandlers/onkeyup/index.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/files/ko/web/api/globaleventhandlers/onkeyup/index.html b/files/ko/web/api/globaleventhandlers/onkeyup/index.html new file mode 100644 index 0000000000..7ba6e8c6b6 --- /dev/null +++ b/files/ko/web/api/globaleventhandlers/onkeyup/index.html @@ -0,0 +1,27 @@ +--- +title: GlobalEventHandlers.onkeyup +slug: Web/API/GlobalEventHandlers/onkeyup +translation_of: Web/API/GlobalEventHandlers/onkeyup +--- +<div>{{ApiRef("HTML DOM")}}</div> + +<p><strong>onkeyup</strong> 속성은 현재 요소에서 onKeyUp 이벤트 핸들러를 반환합니다.</p> + +<h2 id="문법">문법</h2> + +<pre class="syntaxbox">element.onkeyup = <em>event handling code</em> +</pre> + +<h2 id="예제">예제</h2> + +<pre class="brush: js"> <input type="text" onKeyUp="keyWasPressed(event)"> + <script>function keyWasPressed(evt){ console.log(evt.keyCode) }</script> +</pre> + +<h2 id="참고">참고</h2> + +<p>keyup 이벤트는 사용자가 눌렀던 키를 놓을 때 발생합니다.</p> + +<h2 id="명세서">명세서</h2> + +<p>명세 내용이 없습니다.</p> |