/
850.txt
42 lines (30 loc) · 2.08 KB
/
850.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[1] [CODE(DOMi)@en[[[Document]]]] [[オブジェクト]]の [DFN[[CODE(DOMm)@en[[[createEvent]]]] [[メソッド]]]]は、
[CODE(DOMi)@en[[[Event]]]] [[オブジェクト]]を新たに作成します。
* 引数
[2] [CODE(DOMi)@en[[[createEvent]]]] [[メソッド]]の第1引数には、作成する[[オブジェクト]]が実装する[[界面]]の名前を指定しなければなりません。
「[CODE(DOMi)@en[[[Event]]]]」と指定すると最も基本的な [CODE(DOMi)@en[[[Event]]]]
[[オブジェクト]]が作られます。
* 関連
[3] [[IE事象モデル]]で同様の機能を持つのは [CODE(DOMm)@en[[[createEventObject]]]]
[[メソッド]]です。
[4] [CITE@en[WICD Mobile 1.0]]
( ([TIME[2010-08-17 16:50:39 +09:00]] 版))
<http://www.w3.org/TR/WICDMobile/#dom-events-ext>
[5] [CITE[Define dictionary defaults for events. Clean up createEvent(). Note issu... · 508b3d5 · whatwg/dom]]
( ([TIME[2013-04-04 09:14:17 +09:00]] 版))
<https://github.com/whatwg/dom/commit/508b3d58eb9df5250cc42cefa71062945c154ef0>
[6] [CITE@en-US[DOM Standard]]
( ([TIME[2013-04-26 20:00:45 +09:00]] 版))
<http://dom.spec.whatwg.org/#dom-document-createevent>
[7] [CITE@en[868751 – Remove support for document.createEvent("AnimationEvent"), document.createEvent("TransitionEvent"), AnimationEvent.initAnimationEvent, and TransitionEvent.initTransitionEvent]]
( ([TIME[2013-11-13 21:13:14 +09:00]] 版))
<https://bugzilla.mozilla.org/show_bug.cgi?id=868751>
[8] [CITE@en[Bug 25491 – createEvent and case significance]]
( ([TIME[2014-05-05 08:14:52 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=25491>
[9] [CITE[Add more createEvent() names per https://www.w3.org/Bugs/Public/show_bug... · 333b03c · whatwg/dom]]
( ([TIME[2014-05-22 01:43:36 +09:00]] 版))
<https://github.com/whatwg/dom/commit/333b03cf6454e803d6433673c33f1292821dac0a>
[10] [CITE@en[Bug 25907 – Need initMessageEvent method because https://github.com/whatwg/dom/commit/333b03cf6454e803d6433673c33f1292821dac0a]]
( ([TIME[2014-05-29 10:28:35 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=25907>