Home
last modified time | relevance | path

Searched refs:addEventListener (Results 1 – 25 of 149) sorted by relevance

123456

/third_party/typescript/tests/lib/
Dlib.d.ts4314 addEventListener(type: "cached", listener: (ev: Event) => any, useCapture?: boolean): void; method
4315 addEventListener(type: "checking", listener: (ev: Event) => any, useCapture?: boolean): void; method
4316 addEventListener(type: "downloading", listener: (ev: Event) => any, useCapture?: boolean): void; method
4317 addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void; method
4318 addEventListener(type: "noupdate", listener: (ev: Event) => any, useCapture?: boolean): void; method
4319 addEventListener(type: "obsolete", listener: (ev: Event) => any, useCapture?: boolean): void; method
4320addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): vo… method
4321 addEventListener(type: "updateready", listener: (ev: Event) => any, useCapture?: boolean): void; method
4322addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean)… method
4380 addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): void; method
[all …]
/third_party/node/test/parallel/
Dtest-eventtarget-memoryleakwarning.js40 et.addEventListener('foo', () => {});
41 et.addEventListener('foo', () => {});
42 et.addEventListener('foo', () => {});
49 et.addEventListener('foo', () => {});
50 et.addEventListener('foo', () => {});
51 et.addEventListener('foo', () => {});
57 mc.port1.addEventListener('foo', () => {});
58 mc.port1.addEventListener('foo', () => {});
59 mc.port1.addEventListener('foo', () => {});
66 mc.port1.addEventListener('foo', () => {});
[all …]
Dtest-eventtarget.js148 eventTarget.addEventListener('foo', ev1);
149 eventTarget.addEventListener('foo', ev2, { once: true });
162 eventTarget.addEventListener('foo', fn, { once: true });
169 eventTarget.addEventListener('foo', (event) => event.preventDefault());
177 eventTarget.addEventListener('foo', fn, false);
186 eventTarget.addEventListener('foo', fn, null);
208 eventTarget.addEventListener('foo', ev1, { once: true });
209 eventTarget.addEventListener('foo', ev2, { once: true });
210 eventTarget.addEventListener('foo', ev3, { once: true });
211 eventTarget.addEventListener('foo', ev4, { once: true });
[all …]
Dtest-eventtarget-whatwg-once.js28 document.addEventListener('test', handler_once, { once: true });
29 document.addEventListener('test', handler_normal);
50 document.addEventListener('test', handler, { once: true });
51 document.addEventListener('test', handler);
60 document.addEventListener('test', handler, { once: true });
76 document.addEventListener('test', handler, { once: true });
84 document.addEventListener('test', handler2, { once: true });
88 document.addEventListener('test', handler2, { once: true });
Dtest-events-static-geteventlisteners.js31 target.addEventListener('foo', fn1);
32 target.addEventListener('foo', fn2);
33 target.addEventListener('baz', fn1);
34 target.addEventListener('baz', fn1);
/third_party/typescript/tests/baselines/reference/
DoverloadOnConstInheritance1.symbols5 addEventListener(x: string): any;
6 >addEventListener : Symbol(Base.addEventListener, Decl(overloadOnConstInheritance1.ts, 0, 16), Decl…
9 addEventListener(x: 'foo'): string;
10 >addEventListener : Symbol(Base.addEventListener, Decl(overloadOnConstInheritance1.ts, 0, 16), Decl…
17 addEventListener(x: string): any;
18 >addEventListener : Symbol(Deriver.addEventListener, Decl(overloadOnConstInheritance1.ts, 4, 32), D…
21 addEventListener(x: 'bar'): string;
22 >addEventListener : Symbol(Deriver.addEventListener, Decl(overloadOnConstInheritance1.ts, 4, 32), D…
DoverloadOnConstInheritance2.symbols5 addEventListener(x: string): any;
6 >addEventListener : Symbol(Base.addEventListener, Decl(overloadOnConstInheritance2.ts, 0, 16), Decl…
9 addEventListener(x: 'foo'): string;
10 >addEventListener : Symbol(Base.addEventListener, Decl(overloadOnConstInheritance2.ts, 0, 16), Decl…
17 addEventListener(x: 'bar'): string; // shouldn't need to redeclare the string overload
18 >addEventListener : Symbol(Deriver.addEventListener, Decl(overloadOnConstInheritance2.ts, 4, 32))
DoverloadOnConstInheritance3.symbols5 addEventListener(x: string): any;
6 >addEventListener : Symbol(Base.addEventListener, Decl(overloadOnConstInheritance3.ts, 0, 16))
14 addEventListener(x: 'bar'): string;
15 >addEventListener : Symbol(Deriver.addEventListener, Decl(overloadOnConstInheritance3.ts, 3, 32), D…
18 addEventListener(x: 'foo'): string;
19 >addEventListener : Symbol(Deriver.addEventListener, Decl(overloadOnConstInheritance3.ts, 3, 32), D…
DoverloadOnConstInheritance1.types3 addEventListener(x: string): any;
4 >addEventListener : { (x: string): any; (x: "foo"): string; }
7 addEventListener(x: 'foo'): string;
8 >addEventListener : { (x: string): any; (x: 'foo'): string; }
12 addEventListener(x: string): any;
13 >addEventListener : { (x: string): any; (x: "bar"): string; }
16 addEventListener(x: 'bar'): string;
17 >addEventListener : { (x: string): any; (x: 'bar'): string; }
DoverloadOnConstInheritance3.types3 addEventListener(x: string): any;
4 >addEventListener : (x: string) => any
9 addEventListener(x: 'bar'): string;
10 >addEventListener : { (x: 'bar'): string; (x: "foo"): string; }
13 addEventListener(x: 'foo'): string;
14 >addEventListener : { (x: "bar"): string; (x: 'foo'): string; }
DoverloadOnConstInheritance2.types3 addEventListener(x: string): any;
4 >addEventListener : { (x: string): any; (x: "foo"): string; }
7 addEventListener(x: 'foo'): string;
8 >addEventListener : { (x: string): any; (x: 'foo'): string; }
12 addEventListener(x: 'bar'): string; // shouldn't need to redeclare the string overload
13 >addEventListener : (x: 'bar') => string
DoverloadOnConstInheritance1.js3 addEventListener(x: string): any;
4 addEventListener(x: 'foo'): string;
7 addEventListener(x: string): any;
8 addEventListener(x: 'bar'): string;
DoverloadOnConstInheritance2.errors.txt2 Types of property 'addEventListener' are incompatible.
10 addEventListener(x: string): any;
11 addEventListener(x: 'foo'): string;
16 !!! error TS2430: Types of property 'addEventListener' are incompatible.
20 addEventListener(x: 'bar'): string; // shouldn't need to redeclare the string overload
DoverloadOnConstInheritance2.js3 addEventListener(x: string): any;
4 addEventListener(x: 'foo'): string;
7 addEventListener(x: 'bar'): string; // shouldn't need to redeclare the string overload
DoverloadOnConstInheritance3.js3 addEventListener(x: string): any;
7 addEventListener(x: 'bar'): string;
8 addEventListener(x: 'foo'): string;
/third_party/node/test/fixtures/wpt/resources/
Dsriharness.js22 e.addEventListener("load", function() {test.done()});
23 e.addEventListener("error", function() {
27 e.addEventListener("load", function() {
30 e.addEventListener("error", function() {test.done()});
74 e.addEventListener("load", function() {
81 e.addEventListener("error", function() {
85 e.addEventListener("load", function() {
88 e.addEventListener("error", function() {
/third_party/typescript/tests/cases/compiler/
DoverloadOnConstInheritance1.ts2 addEventListener(x: string): any; method
3 addEventListener(x: 'foo'): string; method
6 addEventListener(x: string): any; method
7 addEventListener(x: 'bar'): string; method
DoverloadOnConstInheritance3.ts2 addEventListener(x: string): any; method
6 addEventListener(x: 'bar'): string; method
7 addEventListener(x: 'foo'): string; method
DoverloadOnConstInheritance2.ts2 addEventListener(x: string): any; method
3 addEventListener(x: 'foo'): string; method
6 addEventListener(x: 'bar'): string; // shouldn't need to redeclare the string overload method
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-deaddrop/mount-origin/
Ddeaddrop.js216 document.addEventListener("DOMContentLoaded", function() {
221 da.addEventListener("dragenter", da_enter, false);
222 da.addEventListener("dragleave", da_leave, false);
223 da.addEventListener("dragover", da_over, false);
224 da.addEventListener("drop", da_drop, false);
226 upl.addEventListener("click", upl_button, false);
227 fi.addEventListener("change", inp, false);
229 window.addEventListener("dragover", body_drop, false);
230 window.addEventListener("drop", body_drop, false);
279 d.addEventListener("click",
/third_party/libwebsockets/plugins/deaddrop/assets/
Ddeaddrop.js216 document.addEventListener("DOMContentLoaded", function() {
221 da.addEventListener("dragenter", da_enter, false);
222 da.addEventListener("dragleave", da_leave, false);
223 da.addEventListener("dragover", da_over, false);
224 da.addEventListener("drop", da_drop, false);
226 upl.addEventListener("click", upl_button, false);
227 fi.addEventListener("change", inp, false);
229 window.addEventListener("dragover", body_drop, false);
230 window.addEventListener("drop", body_drop, false);
279 d.addEventListener("click",
/third_party/typescript/lib/
Dlib.dom.d.ts2035addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: A… method
2036addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
2080addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker,… method
2081addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
2141addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: Anima… method
2142addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
2241addEventListener<K extends keyof ApplicationCacheEventMap>(type: K, listener: (this: ApplicationCa… method
2242addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
2300addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: Audio… method
2301addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
[all …]
/third_party/typescript/src/lib/
Ddom.generated.d.ts2015addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: A… method
2016addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
2060addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker,… method
2061addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
2121addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: Animation, ev: Anima… method
2122addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
2221addEventListener<K extends keyof ApplicationCacheEventMap>(type: K, listener: (this: ApplicationCa… method
2222addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
2280addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: Audio… method
2281addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | A… method
[all …]
/third_party/node/test/fixtures/wpt/hr-time/resources/
Dunload.js25 window.addEventListener("beforeunload", ev => {
32 window.addEventListener("load", () => {
34 document.getElementById("proceed").addEventListener("click", ev => {
46 window.addEventListener("unload", () => {
/third_party/skia/demos.skia.org/demos/path_performance/
Dmain.js6 document.getElementById('svg').addEventListener('load', () => {
35 worker.addEventListener('message', ({ data: {renderMethod, framesCount, totalFramesMs} }) => {
56 .addEventListener('click', switchRenderMethodCallback('SVG'));
58 .addEventListener('click', switchRenderMethodCallback('Path2D'));
60 .addEventListener('click', switchRenderMethodCallback('CanvasKit'));

123456