aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/document/createevent
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:25:40 +0100
committerGitHub <noreply@github.com>2021-02-11 18:25:40 +0100
commit0a2614c9e651a70a09da25ccf96b04662de6719d (patch)
treebcbed7459a775e21674282ffb33d07dc942b9097 /files/ko/web/api/document/createevent
parent7a19fcc400749230196db0c64b0bfbe626d193c4 (diff)
parentf2db11d0be377464daa06807f993a562c7dc10ac (diff)
downloadtranslated-content-0a2614c9e651a70a09da25ccf96b04662de6719d.tar.gz
translated-content-0a2614c9e651a70a09da25ccf96b04662de6719d.tar.bz2
translated-content-0a2614c9e651a70a09da25ccf96b04662de6719d.zip
Merge pull request #37 from fiji-flo/unslugging-ko
Unslugging ko
Diffstat (limited to 'files/ko/web/api/document/createevent')
-rw-r--r--files/ko/web/api/document/createevent/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/files/ko/web/api/document/createevent/index.html b/files/ko/web/api/document/createevent/index.html
new file mode 100644
index 0000000000..c884693dc7
--- /dev/null
+++ b/files/ko/web/api/document/createevent/index.html
@@ -0,0 +1,31 @@
+---
+title: Event.createEvent()
+slug: Web/API/Document/createEvent
+translation_of: Web/API/Document/createEvent
+translation_of_original: Web/API/Event/createEvent
+original_slug: Web/API/Event/createEvent
+---
+<p>{{APIRef("DOM")}}</p>
+
+<p>새로운 event를 생성합니다, 새로 만들어진 event는 반드시 자신의 init() method를 호출함으로써 초기화되어야만 합니다.</p>
+
+<h3 id="Syntax">Syntax</h3>
+
+<pre><code>document.createEvent(type) </code></pre>
+
+<dl>
+ <dt><code>type</code></dt>
+ <dd>A string indicating the event type to create.</dd>
+</dl>
+
+<p>이 method는 명시된 타입인 새로운 DOM {{ domxref("Event") }} 객체를 반환하며 이는 반드시 사용 전에 초기화되어야만 합니다.</p>
+
+<h3 id="Example">Example</h3>
+
+<pre>var newEvent = document.createEvent("UIEvents");</pre>
+
+<h3 id="Specification">Specification</h3>
+
+<ul>
+ <li><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-document" title="http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-document">DOM Level 2 Events</a></li>
+</ul>