Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11887006: Changed @domName annotation in comment to full fledge @DomName annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 5246c4b2265abf93f758f3321a31a95a6933d791..191ad747540891a4602560276df8a58c9aa1c032 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -54,25 +54,30 @@ spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f);
// BSD-style license that can be found in the LICENSE file.
-/// @domName AbstractWorker; @docsEditable true
+/// @docsEditable true
+@DomName('AbstractWorker')
class AbstractWorker extends EventTarget native "*AbstractWorker" {
static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
AbstractWorkerEvents get on =>
new AbstractWorkerEvents(this);
- /// @domName AbstractWorker.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('AbstractWorker.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName AbstractWorker.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('AbstractWorker.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName AbstractWorker.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('AbstractWorker.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<Event> get onError => errorEvent.forTarget(this);
@@ -91,65 +96,83 @@ class AbstractWorkerEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLAnchorElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLAnchorElement')
class AnchorElement extends Element native "*HTMLAnchorElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory AnchorElement({String href}) {
var e = document.$dom_createElement("a");
if (href != null) e.href = href;
return e;
}
- /// @domName HTMLAnchorElement.download; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.download')
String download;
- /// @domName HTMLAnchorElement.hash; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.hash')
String hash;
- /// @domName HTMLAnchorElement.host; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.host')
String host;
- /// @domName HTMLAnchorElement.hostname; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.hostname')
String hostname;
- /// @domName HTMLAnchorElement.href; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.href')
String href;
- /// @domName HTMLAnchorElement.hreflang; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.hreflang')
String hreflang;
- /// @domName HTMLAnchorElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.name')
String name;
- /// @domName HTMLAnchorElement.origin; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.origin')
final String origin;
- /// @domName HTMLAnchorElement.pathname; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.pathname')
String pathname;
- /// @domName HTMLAnchorElement.ping; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.ping')
String ping;
- /// @domName HTMLAnchorElement.port; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.port')
String port;
- /// @domName HTMLAnchorElement.protocol; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.protocol')
String protocol;
- /// @domName HTMLAnchorElement.rel; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.rel')
String rel;
- /// @domName HTMLAnchorElement.search; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.search')
String search;
- /// @domName HTMLAnchorElement.target; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.target')
String target;
- /// @domName HTMLAnchorElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.type')
String type;
- /// @domName HTMLAnchorElement.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAnchorElement.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -157,13 +180,16 @@ class AnchorElement extends Element native "*HTMLAnchorElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitAnimationEvent; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitAnimationEvent')
class AnimationEvent extends Event native "*WebKitAnimationEvent" {
- /// @domName WebKitAnimationEvent.animationName; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitAnimationEvent.animationName')
final String animationName;
- /// @domName WebKitAnimationEvent.elapsedTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitAnimationEvent.elapsedTime')
final num elapsedTime;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -171,40 +197,52 @@ class AnimationEvent extends Event native "*WebKitAnimationEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLAppletElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLAppletElement')
class AppletElement extends Element native "*HTMLAppletElement" {
- /// @domName HTMLAppletElement.align; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.align')
String align;
- /// @domName HTMLAppletElement.alt; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.alt')
String alt;
- /// @domName HTMLAppletElement.archive; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.archive')
String archive;
- /// @domName HTMLAppletElement.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.code')
String code;
- /// @domName HTMLAppletElement.codeBase; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.codeBase')
String codeBase;
- /// @domName HTMLAppletElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.height')
String height;
- /// @domName HTMLAppletElement.hspace; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.hspace')
String hspace;
- /// @domName HTMLAppletElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.name')
String name;
- /// @domName HTMLAppletElement.object; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.object')
String object;
- /// @domName HTMLAppletElement.vspace; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.vspace')
String vspace;
- /// @domName HTMLAppletElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAppletElement.width')
String width;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -212,7 +250,8 @@ class AppletElement extends Element native "*HTMLAppletElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMApplicationCache; @docsEditable true
+/// @docsEditable true
+@DomName('DOMApplicationCache')
class ApplicationCache extends EventTarget native "*DOMApplicationCache" {
static const EventStreamProvider<Event> cachedEvent = const EventStreamProvider<Event>('cached');
@@ -231,7 +270,8 @@ class ApplicationCache extends EventTarget native "*DOMApplicationCache" {
static const EventStreamProvider<Event> updateReadyEvent = const EventStreamProvider<Event>('updateready');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
ApplicationCacheEvents get on =>
new ApplicationCacheEvents(this);
@@ -247,28 +287,35 @@ class ApplicationCache extends EventTarget native "*DOMApplicationCache" {
static const int UPDATEREADY = 4;
- /// @domName DOMApplicationCache.status; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMApplicationCache.status')
final int status;
- /// @domName DOMApplicationCache.abort; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMApplicationCache.abort')
void abort() native;
- /// @domName DOMApplicationCache.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('DOMApplicationCache.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName DOMApplicationCache.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('DOMApplicationCache.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName DOMApplicationCache.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('DOMApplicationCache.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName DOMApplicationCache.swapCache; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMApplicationCache.swapCache')
void swapCache() native;
- /// @domName DOMApplicationCache.update; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMApplicationCache.update')
void update() native;
Stream<Event> get onCached => cachedEvent.forTarget(this);
@@ -322,49 +369,63 @@ class ApplicationCacheEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLAreaElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLAreaElement')
class AreaElement extends Element native "*HTMLAreaElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory AreaElement() => document.$dom_createElement("area");
- /// @domName HTMLAreaElement.alt; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.alt')
String alt;
- /// @domName HTMLAreaElement.coords; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.coords')
String coords;
- /// @domName HTMLAreaElement.hash; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.hash')
final String hash;
- /// @domName HTMLAreaElement.host; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.host')
final String host;
- /// @domName HTMLAreaElement.hostname; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.hostname')
final String hostname;
- /// @domName HTMLAreaElement.href; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.href')
String href;
- /// @domName HTMLAreaElement.pathname; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.pathname')
final String pathname;
- /// @domName HTMLAreaElement.ping; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.ping')
String ping;
- /// @domName HTMLAreaElement.port; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.port')
final String port;
- /// @domName HTMLAreaElement.protocol; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.protocol')
final String protocol;
- /// @domName HTMLAreaElement.search; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.search')
final String search;
- /// @domName HTMLAreaElement.shape; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.shape')
String shape;
- /// @domName HTMLAreaElement.target; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAreaElement.target')
String target;
}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -372,24 +433,25 @@ class AreaElement extends Element native "*HTMLAreaElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ArrayBuffer
+@DomName('ArrayBuffer')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
class ArrayBuffer native "*ArrayBuffer" {
- ///@docsEditable true
+ /// @docsEditable true
factory ArrayBuffer(int length) => ArrayBuffer._create(length);
static ArrayBuffer _create(int length) => JS('ArrayBuffer', 'new ArrayBuffer(#)', length);
/// Checks if this type is supported on the current platform.
static bool get supported => JS('bool', 'typeof window.ArrayBuffer != "undefined"');
- /// @domName ArrayBuffer.byteLength; @docsEditable true
+ /// @docsEditable true
+ @DomName('ArrayBuffer.byteLength')
final int byteLength;
- /// @domName ArrayBuffer.slice;
+ @DomName('ArrayBuffer.slice')
ArrayBuffer slice(int begin, [int end]) {
// IE10 supports ArrayBuffers but does not have the slice method.
if (JS('bool', '!!#.slice', this)) {
@@ -423,20 +485,24 @@ class ArrayBuffer native "*ArrayBuffer" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ArrayBufferView; @docsEditable true
+/// @docsEditable true
+@DomName('ArrayBufferView')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
class ArrayBufferView native "*ArrayBufferView" {
- /// @domName ArrayBufferView.buffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('ArrayBufferView.buffer')
final ArrayBuffer buffer;
- /// @domName ArrayBufferView.byteLength; @docsEditable true
+ /// @docsEditable true
+ @DomName('ArrayBufferView.byteLength')
final int byteLength;
- /// @domName ArrayBufferView.byteOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('ArrayBufferView.byteOffset')
final int byteOffset;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -444,22 +510,28 @@ class ArrayBufferView native "*ArrayBufferView" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Attr; @docsEditable true
+/// @docsEditable true
+@DomName('Attr')
class Attr extends Node native "*Attr" {
- /// @domName Attr.isId; @docsEditable true
+ /// @docsEditable true
+ @DomName('Attr.isId')
final bool isId;
- /// @domName Attr.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('Attr.name')
final String name;
- /// @domName Attr.ownerElement; @docsEditable true
+ /// @docsEditable true
+ @DomName('Attr.ownerElement')
final Element ownerElement;
- /// @domName Attr.specified; @docsEditable true
+ /// @docsEditable true
+ @DomName('Attr.specified')
final bool specified;
- /// @domName Attr.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('Attr.value')
String value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -467,10 +539,11 @@ class Attr extends Node native "*Attr" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLAudioElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLAudioElement')
class AudioElement extends MediaElement native "*HTMLAudioElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory AudioElement([String src]) {
if (!?src) {
return AudioElement._create();
@@ -489,10 +562,11 @@ class AudioElement extends MediaElement native "*HTMLAudioElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLBRElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLBRElement')
class BRElement extends Element native "*HTMLBRElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory BRElement() => document.$dom_createElement("br");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -500,10 +574,12 @@ class BRElement extends Element native "*HTMLBRElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName BarInfo; @docsEditable true
+/// @docsEditable true
+@DomName('BarInfo')
class BarInfo native "*BarInfo" {
- /// @domName BarInfo.visible; @docsEditable true
+ /// @docsEditable true
+ @DomName('BarInfo.visible')
final bool visible;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -511,16 +587,19 @@ class BarInfo native "*BarInfo" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLBaseElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLBaseElement')
class BaseElement extends Element native "*HTMLBaseElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory BaseElement() => document.$dom_createElement("base");
- /// @domName HTMLBaseElement.href; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLBaseElement.href')
String href;
- /// @domName HTMLBaseElement.target; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLBaseElement.target')
String target;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -528,16 +607,20 @@ class BaseElement extends Element native "*HTMLBaseElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLBaseFontElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLBaseFontElement')
class BaseFontElement extends Element native "*HTMLBaseFontElement" {
- /// @domName HTMLBaseFontElement.color; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLBaseFontElement.color')
String color;
- /// @domName HTMLBaseFontElement.face; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLBaseFontElement.face')
String face;
- /// @domName HTMLBaseFontElement.size; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLBaseFontElement.size')
int size;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -545,7 +628,8 @@ class BaseFontElement extends Element native "*HTMLBaseFontElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName BatteryManager; @docsEditable true
+/// @docsEditable true
+@DomName('BatteryManager')
class BatteryManager extends EventTarget native "*BatteryManager" {
static const EventStreamProvider<Event> chargingChangeEvent = const EventStreamProvider<Event>('chargingchange');
@@ -556,32 +640,40 @@ class BatteryManager extends EventTarget native "*BatteryManager" {
static const EventStreamProvider<Event> levelChangeEvent = const EventStreamProvider<Event>('levelchange');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
BatteryManagerEvents get on =>
new BatteryManagerEvents(this);
- /// @domName BatteryManager.charging; @docsEditable true
+ /// @docsEditable true
+ @DomName('BatteryManager.charging')
final bool charging;
- /// @domName BatteryManager.chargingTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('BatteryManager.chargingTime')
final num chargingTime;
- /// @domName BatteryManager.dischargingTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('BatteryManager.dischargingTime')
final num dischargingTime;
- /// @domName BatteryManager.level; @docsEditable true
+ /// @docsEditable true
+ @DomName('BatteryManager.level')
final num level;
- /// @domName BatteryManager.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('BatteryManager.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName BatteryManager.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('BatteryManager.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName BatteryManager.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('BatteryManager.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<Event> get onChargingChange => chargingChangeEvent.forTarget(this);
@@ -615,10 +707,12 @@ class BatteryManagerEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName BeforeLoadEvent; @docsEditable true
+/// @docsEditable true
+@DomName('BeforeLoadEvent')
class BeforeLoadEvent extends Event native "*BeforeLoadEvent" {
- /// @domName BeforeLoadEvent.url; @docsEditable true
+ /// @docsEditable true
+ @DomName('BeforeLoadEvent.url')
final String url;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -626,10 +720,10 @@ class BeforeLoadEvent extends Event native "*BeforeLoadEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Blob
+@DomName('Blob')
class Blob native "*Blob" {
- ///@docsEditable true
+ /// @docsEditable true
factory Blob(List blobParts, [String type, String endings]) {
if (!?type) {
return Blob._create(blobParts);
@@ -640,13 +734,16 @@ class Blob native "*Blob" {
return Blob._create(blobParts, type, endings);
}
- /// @domName Blob.size; @docsEditable true
+ /// @docsEditable true
+ @DomName('Blob.size')
final int size;
- /// @domName Blob.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('Blob.type')
final String type;
- /// @domName Blob.slice; @docsEditable true
+ /// @docsEditable true
+ @DomName('Blob.slice')
Blob slice([int start, int end, String contentType]) native;
static Blob _create([List blobParts = null, String type, String endings]) {
@@ -674,7 +771,8 @@ class Blob native "*Blob" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLBodyElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLBodyElement')
class BodyElement extends Element native "*HTMLBodyElement" {
static const EventStreamProvider<Event> beforeUnloadEvent = const EventStreamProvider<Event>('beforeunload');
@@ -703,14 +801,16 @@ class BodyElement extends Element native "*HTMLBodyElement" {
static const EventStreamProvider<Event> unloadEvent = const EventStreamProvider<Event>('unload');
- ///@docsEditable true
+ /// @docsEditable true
factory BodyElement() => document.$dom_createElement("body");
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
BodyElementEvents get on =>
new BodyElementEvents(this);
- /// @domName HTMLBodyElement.vLink; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLBodyElement.vLink')
String vLink;
Stream<Event> get onBeforeUnload => beforeUnloadEvent.forTarget(this);
@@ -789,62 +889,80 @@ class BodyElementEvents extends ElementEvents {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLButtonElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLButtonElement')
class ButtonElement extends Element native "*HTMLButtonElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory ButtonElement() => document.$dom_createElement("button");
- /// @domName HTMLButtonElement.autofocus; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.autofocus')
bool autofocus;
- /// @domName HTMLButtonElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.disabled')
bool disabled;
- /// @domName HTMLButtonElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.form')
final FormElement form;
- /// @domName HTMLButtonElement.formAction; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.formAction')
String formAction;
- /// @domName HTMLButtonElement.formEnctype; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.formEnctype')
String formEnctype;
- /// @domName HTMLButtonElement.formMethod; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.formMethod')
String formMethod;
- /// @domName HTMLButtonElement.formNoValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.formNoValidate')
bool formNoValidate;
- /// @domName HTMLButtonElement.formTarget; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.formTarget')
String formTarget;
- /// @domName HTMLButtonElement.labels; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.labels')
@Returns('NodeList') @Creates('NodeList')
final List<Node> labels;
- /// @domName HTMLButtonElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.name')
String name;
- /// @domName HTMLButtonElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.type')
String type;
- /// @domName HTMLButtonElement.validationMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.validationMessage')
final String validationMessage;
- /// @domName HTMLButtonElement.validity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.validity')
final ValidityState validity;
- /// @domName HTMLButtonElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.value')
String value;
- /// @domName HTMLButtonElement.willValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.willValidate')
final bool willValidate;
- /// @domName HTMLButtonElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLButtonElement.setCustomValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLButtonElement.setCustomValidity')
void setCustomValidity(String error) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -852,7 +970,8 @@ class ButtonElement extends Element native "*HTMLButtonElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CDATASection; @docsEditable true
+/// @docsEditable true
+@DomName('CDATASection')
class CDataSection extends Text native "*CDATASection" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -860,10 +979,10 @@ class CDataSection extends Text native "*CDATASection" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLCanvasElement
+@DomName('HTMLCanvasElement')
class CanvasElement extends Element native "*HTMLCanvasElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory CanvasElement({int width, int height}) {
var e = document.$dom_createElement("canvas");
if (width != null) e.width = width;
@@ -871,12 +990,12 @@ class CanvasElement extends Element native "*HTMLCanvasElement" {
return e;
}
- /// The height of this canvas element in CSS pixels.
- /// @domName HTMLCanvasElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLCanvasElement.height')
int height;
- /// The width of this canvas element in CSS pixels.
- /// @domName HTMLCanvasElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLCanvasElement.width')
int width;
/**
@@ -919,8 +1038,9 @@ class CanvasElement extends Element native "*HTMLCanvasElement" {
*
* * [toDataUrl](http://dev.w3.org/html5/spec/the-canvas-element.html#dom-canvas-todataurl) from W3C.
*/
- /// @domName HTMLCanvasElement.toDataURL; @docsEditable true
+ /// @docsEditable true
@JSName('toDataURL')
+ @DomName('HTMLCanvasElement.toDataURL')
String toDataUrl(String type, [num quality]) native;
@@ -932,48 +1052,12 @@ class CanvasElement extends Element native "*HTMLCanvasElement" {
// BSD-style license that can be found in the LICENSE file.
-/**
- * An opaque canvas object representing a gradient.
- *
- * Created by calling [createLinearGradient] or [createRadialGradient] on a
- * [CanvasRenderingContext2D] object.
- *
- * Example usage:
- *
- * var canvas = new CanvasElement(width: 600, height: 600);
- * var ctx = canvas.context2d;
- * ctx.clearRect(0, 0, 600, 600);
- * ctx.save();
- * // Create radial gradient.
- * CanvasGradient gradient = ctx.createRadialGradient(0, 0, 0, 0, 0, 600);
- * gradient.addColorStop(0, '#000');
- * gradient.addColorStop(1, 'rgb(255, 255, 255)');
- * // Assign gradients to fill.
- * ctx.fillStyle = gradient;
- * // Draw a rectangle with a gradient fill.
- * ctx.fillRect(0, 0, 600, 600);
- * ctx.save();
- * document.body.children.add(canvas);
- *
- * See also:
- *
- * * [CanvasGradient](https://developer.mozilla.org/en-US/docs/DOM/CanvasGradient) from MDN.
- * * [CanvasGradient](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#canvasgradient) from whatwg.
- * * [CanvasGradient](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvasgradient) from W3C.
- */
-/// @domName CanvasGradient; @docsEditable true
+/// @docsEditable true
+@DomName('CanvasGradient')
class CanvasGradient native "*CanvasGradient" {
- /**
- * Adds a color stop to this gradient at the offset.
- *
- * The [offset] can range between 0.0 and 1.0.
- *
- * See also:
- *
- * * [Multiple Color Stops](https://developer.mozilla.org/en-US/docs/CSS/linear-gradient#Gradient_with_multiple_color_stops) from MDN.
- */
- /// @domName CanvasGradient.addColorStop; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasGradient.addColorStop')
void addColorStop(num offset, String color) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -981,34 +1065,8 @@ class CanvasGradient native "*CanvasGradient" {
// BSD-style license that can be found in the LICENSE file.
-/**
- * An opaque object representing a pattern of image, canvas, or video.
- *
- * Created by calling [createPattern] on a [CanvasRenderingContext2D] object.
- *
- * Example usage:
- *
- * var canvas = new CanvasElement(width: 600, height: 600);
- * var ctx = canvas.context2d;
- * var img = new ImageElement();
- * // Image src needs to be loaded before pattern is applied.
- * img.on.load.add((event) {
- * // When the image is loaded, create a pattern
- * // from the ImageElement.
- * CanvasPattern pattern = ctx.createPattern(img, 'repeat');
- * ctx.rect(0, 0, canvas.width, canvas.height);
- * ctx.fillStyle = pattern;
- * ctx.fill();
- * });
- * img.src = "images/foo.jpg";
- * document.body.children.add(canvas);
- *
- * See also:
- * * [CanvasPattern](https://developer.mozilla.org/en-US/docs/DOM/CanvasPattern) from MDN.
- * * [CanvasPattern](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#canvaspattern) from whatwg.
- * * [CanvasPattern](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvaspattern) from W3C.
- */
-/// @domName CanvasPattern; @docsEditable true
+/// @docsEditable true
+@DomName('CanvasPattern')
class CanvasPattern native "*CanvasPattern" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1016,17 +1074,12 @@ class CanvasPattern native "*CanvasPattern" {
// BSD-style license that can be found in the LICENSE file.
-/**
- * A rendering context for a canvas element.
- *
- * This context is extended by [CanvasRenderingContext2D] and
- * [WebGLRenderingContext].
- */
-/// @domName CanvasRenderingContext; @docsEditable true
+/// @docsEditable true
+@DomName('CanvasRenderingContext')
class CanvasRenderingContext native "*CanvasRenderingContext" {
- /// Reference to the canvas element to which this context belongs.
- /// @domName CanvasRenderingContext.canvas; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext.canvas')
final CanvasElement canvas;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1034,93 +1087,118 @@ class CanvasRenderingContext native "*CanvasRenderingContext" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CanvasRenderingContext2D
+@DomName('CanvasRenderingContext2D')
class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRenderingContext2D" {
- /// @domName CanvasRenderingContext2D.fillStyle; @docsEditable true
- @Creates('String|CanvasGradient|CanvasPattern') @Returns('String|CanvasGradient|CanvasPattern')
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.fillStyle') @Creates('String|CanvasGradient|CanvasPattern') @Returns('String|CanvasGradient|CanvasPattern')
dynamic fillStyle;
- /// @domName CanvasRenderingContext2D.font; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.font')
String font;
- /// @domName CanvasRenderingContext2D.globalAlpha; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.globalAlpha')
num globalAlpha;
- /// @domName CanvasRenderingContext2D.globalCompositeOperation; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.globalCompositeOperation')
String globalCompositeOperation;
- /// @domName CanvasRenderingContext2D.lineCap; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.lineCap')
String lineCap;
- /// @domName CanvasRenderingContext2D.lineDashOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.lineDashOffset')
num lineDashOffset;
- /// @domName CanvasRenderingContext2D.lineJoin; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.lineJoin')
String lineJoin;
- /// @domName CanvasRenderingContext2D.lineWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.lineWidth')
num lineWidth;
- /// @domName CanvasRenderingContext2D.miterLimit; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.miterLimit')
num miterLimit;
- /// @domName CanvasRenderingContext2D.shadowBlur; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.shadowBlur')
num shadowBlur;
- /// @domName CanvasRenderingContext2D.shadowColor; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.shadowColor')
String shadowColor;
- /// @domName CanvasRenderingContext2D.shadowOffsetX; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.shadowOffsetX')
num shadowOffsetX;
- /// @domName CanvasRenderingContext2D.shadowOffsetY; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.shadowOffsetY')
num shadowOffsetY;
- /// @domName CanvasRenderingContext2D.strokeStyle; @docsEditable true
- @Creates('String|CanvasGradient|CanvasPattern') @Returns('String|CanvasGradient|CanvasPattern')
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.strokeStyle') @Creates('String|CanvasGradient|CanvasPattern') @Returns('String|CanvasGradient|CanvasPattern')
dynamic strokeStyle;
- /// @domName CanvasRenderingContext2D.textAlign; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.textAlign')
String textAlign;
- /// @domName CanvasRenderingContext2D.textBaseline; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.textBaseline')
String textBaseline;
- /// @domName CanvasRenderingContext2D.webkitBackingStorePixelRatio; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRatio')
final num webkitBackingStorePixelRatio;
- /// @domName CanvasRenderingContext2D.webkitImageSmoothingEnabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.webkitImageSmoothingEnabled')
bool webkitImageSmoothingEnabled;
- /// @domName CanvasRenderingContext2D.webkitLineDash; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.webkitLineDash')
List webkitLineDash;
- /// @domName CanvasRenderingContext2D.webkitLineDashOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.webkitLineDashOffset')
num webkitLineDashOffset;
- /// @domName CanvasRenderingContext2D.arc; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.arc')
void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native;
- /// @domName CanvasRenderingContext2D.arcTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.arcTo')
void arcTo(num x1, num y1, num x2, num y2, num radius) native;
- /// @domName CanvasRenderingContext2D.beginPath; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.beginPath')
void beginPath() native;
- /// @domName CanvasRenderingContext2D.bezierCurveTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.bezierCurveTo')
void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native;
- /// @domName CanvasRenderingContext2D.clearRect; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.clearRect')
void clearRect(num x, num y, num width, num height) native;
- /// @domName CanvasRenderingContext2D.clip; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.clip')
void clip() native;
- /// @domName CanvasRenderingContext2D.closePath; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.closePath')
void closePath() native;
- /// @domName CanvasRenderingContext2D.createImageData; @docsEditable true
+ /// @docsEditable true
ImageData createImageData(imagedata_OR_sw, [num sh]) {
if ((imagedata_OR_sw is ImageData || imagedata_OR_sw == null) &&
!?sh) {
@@ -1133,57 +1211,69 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen
throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('createImageData')
- @Creates('ImageData|=Object')
+ @DomName('CanvasRenderingContext2D.createImageData') @Creates('ImageData|=Object')
_createImageData_1(imagedata) native;
@JSName('createImageData')
- @Creates('ImageData|=Object')
+ @DomName('CanvasRenderingContext2D.createImageData') @Creates('ImageData|=Object')
_createImageData_2(num sw, sh) native;
- /// @domName CanvasRenderingContext2D.createLinearGradient; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.createLinearGradient')
CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native;
- /// @domName CanvasRenderingContext2D.createPattern; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.createPattern')
CanvasPattern createPattern(canvas_OR_image, String repetitionType) native;
- /// @domName CanvasRenderingContext2D.createRadialGradient; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.createRadialGradient')
CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) native;
- /// @domName CanvasRenderingContext2D.drawImage; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.drawImage')
void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]) native;
- /// @domName CanvasRenderingContext2D.fill; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.fill')
void fill() native;
- /// @domName CanvasRenderingContext2D.fillRect; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.fillRect')
void fillRect(num x, num y, num width, num height) native;
- /// @domName CanvasRenderingContext2D.fillText; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.fillText')
void fillText(String text, num x, num y, [num maxWidth]) native;
- /// @domName CanvasRenderingContext2D.getImageData; @docsEditable true
+ /// @docsEditable true
ImageData getImageData(num sx, num sy, num sw, num sh) {
return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh));
}
@JSName('getImageData')
- @Creates('ImageData|=Object')
+ @DomName('CanvasRenderingContext2D.getImageData') @Creates('ImageData|=Object')
_getImageData_1(sx, sy, sw, sh) native;
- /// @domName CanvasRenderingContext2D.getLineDash; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.getLineDash')
List<num> getLineDash() native;
- /// @domName CanvasRenderingContext2D.isPointInPath; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.isPointInPath')
bool isPointInPath(num x, num y) native;
- /// @domName CanvasRenderingContext2D.lineTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.lineTo')
void lineTo(num x, num y) native;
- /// @domName CanvasRenderingContext2D.measureText; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.measureText')
TextMetrics measureText(String text) native;
- /// @domName CanvasRenderingContext2D.moveTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.moveTo')
void moveTo(num x, num y) native;
- /// @domName CanvasRenderingContext2D.putImageData; @docsEditable true
+ /// @docsEditable true
void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]) {
if (!?dirtyX &&
!?dirtyY &&
@@ -1199,58 +1289,73 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen
throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('putImageData')
+ @DomName('CanvasRenderingContext2D.putImageData')
void _putImageData_1(imagedata, dx, dy) native;
@JSName('putImageData')
+ @DomName('CanvasRenderingContext2D.putImageData')
void _putImageData_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) native;
- /// @domName CanvasRenderingContext2D.quadraticCurveTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.quadraticCurveTo')
void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
- /// @domName CanvasRenderingContext2D.rect; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.rect')
void rect(num x, num y, num width, num height) native;
- /// @domName CanvasRenderingContext2D.restore; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.restore')
void restore() native;
- /// @domName CanvasRenderingContext2D.rotate; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.rotate')
void rotate(num angle) native;
- /// @domName CanvasRenderingContext2D.save; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.save')
void save() native;
- /// @domName CanvasRenderingContext2D.scale; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.scale')
void scale(num sx, num sy) native;
- /// @domName CanvasRenderingContext2D.setLineDash; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.setLineDash')
void setLineDash(List<num> dash) native;
- /// @domName CanvasRenderingContext2D.setTransform; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.setTransform')
void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
- /// @domName CanvasRenderingContext2D.stroke; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.stroke')
void stroke() native;
- /// @domName CanvasRenderingContext2D.strokeRect; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.strokeRect')
void strokeRect(num x, num y, num width, num height, [num lineWidth]) native;
- /// @domName CanvasRenderingContext2D.strokeText; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.strokeText')
void strokeText(String text, num x, num y, [num maxWidth]) native;
- /// @domName CanvasRenderingContext2D.transform; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.transform')
void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
- /// @domName CanvasRenderingContext2D.translate; @docsEditable true
+ /// @docsEditable true
+ @DomName('CanvasRenderingContext2D.translate')
void translate(num tx, num ty) native;
- /// @domName CanvasRenderingContext2D.webkitGetImageDataHD; @docsEditable true
+ /// @docsEditable true
ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh) {
return _convertNativeToDart_ImageData(_webkitGetImageDataHD_1(sx, sy, sw, sh));
}
@JSName('webkitGetImageDataHD')
- @Creates('ImageData|=Object')
+ @DomName('CanvasRenderingContext2D.webkitGetImageDataHD') @Creates('ImageData|=Object')
_webkitGetImageDataHD_1(sx, sy, sw, sh) native;
- /// @domName CanvasRenderingContext2D.webkitPutImageDataHD; @docsEditable true
+ /// @docsEditable true
void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]) {
if (!?dirtyX &&
!?dirtyY &&
@@ -1266,8 +1371,10 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen
throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('webkitPutImageDataHD')
+ @DomName('CanvasRenderingContext2D.webkitPutImageDataHD')
void _webkitPutImageDataHD_1(imagedata, dx, dy) native;
@JSName('webkitPutImageDataHD')
+ @DomName('CanvasRenderingContext2D.webkitPutImageDataHD')
void _webkitPutImageDataHD_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) native;
@@ -1312,31 +1419,40 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen
// BSD-style license that can be found in the LICENSE file.
-/// @domName CharacterData; @docsEditable true
+/// @docsEditable true
+@DomName('CharacterData')
class CharacterData extends Node native "*CharacterData" {
- /// @domName CharacterData.data; @docsEditable true
+ /// @docsEditable true
+ @DomName('CharacterData.data')
String data;
- /// @domName CharacterData.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('CharacterData.length')
final int length;
- /// @domName CharacterData.appendData; @docsEditable true
+ /// @docsEditable true
+ @DomName('CharacterData.appendData')
void appendData(String data) native;
- /// @domName CharacterData.deleteData; @docsEditable true
+ /// @docsEditable true
+ @DomName('CharacterData.deleteData')
void deleteData(int offset, int length) native;
- /// @domName CharacterData.insertData; @docsEditable true
+ /// @docsEditable true
+ @DomName('CharacterData.insertData')
void insertData(int offset, String data) native;
- /// @domName CharacterData.remove; @docsEditable true
+ /// @docsEditable true
+ @DomName('CharacterData.remove')
void remove() native;
- /// @domName CharacterData.replaceData; @docsEditable true
+ /// @docsEditable true
+ @DomName('CharacterData.replaceData')
void replaceData(int offset, int length, String data) native;
- /// @domName CharacterData.substringData; @docsEditable true
+ /// @docsEditable true
+ @DomName('CharacterData.substringData')
String substringData(int offset, int length) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1344,25 +1460,32 @@ class CharacterData extends Node native "*CharacterData" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ClientRect; @docsEditable true
+/// @docsEditable true
+@DomName('ClientRect')
class ClientRect native "*ClientRect" {
- /// @domName ClientRect.bottom; @docsEditable true
+ /// @docsEditable true
+ @DomName('ClientRect.bottom')
final num bottom;
- /// @domName ClientRect.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('ClientRect.height')
final num height;
- /// @domName ClientRect.left; @docsEditable true
+ /// @docsEditable true
+ @DomName('ClientRect.left')
final num left;
- /// @domName ClientRect.right; @docsEditable true
+ /// @docsEditable true
+ @DomName('ClientRect.right')
final num right;
- /// @domName ClientRect.top; @docsEditable true
+ /// @docsEditable true
+ @DomName('ClientRect.top')
final num top;
- /// @domName ClientRect.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('ClientRect.width')
final num width;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1370,35 +1493,45 @@ class ClientRect native "*ClientRect" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Clipboard; @docsEditable true
+/// @docsEditable true
+@DomName('Clipboard')
class Clipboard native "*Clipboard" {
- /// @domName Clipboard.dropEffect; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.dropEffect')
String dropEffect;
- /// @domName Clipboard.effectAllowed; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.effectAllowed')
String effectAllowed;
- /// @domName Clipboard.files; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.files')
@Returns('FileList') @Creates('FileList')
final List<File> files;
- /// @domName Clipboard.items; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.items')
final DataTransferItemList items;
- /// @domName Clipboard.types; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.types')
final List types;
- /// @domName Clipboard.clearData; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.clearData')
void clearData([String type]) native;
- /// @domName Clipboard.getData; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.getData')
String getData(String type) native;
- /// @domName Clipboard.setData; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.setData')
bool setData(String type, String data) native;
- /// @domName Clipboard.setDragImage; @docsEditable true
+ /// @docsEditable true
+ @DomName('Clipboard.setDragImage')
void setDragImage(ImageElement image, int x, int y) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1406,16 +1539,20 @@ class Clipboard native "*Clipboard" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CloseEvent; @docsEditable true
+/// @docsEditable true
+@DomName('CloseEvent')
class CloseEvent extends Event native "*CloseEvent" {
- /// @domName CloseEvent.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('CloseEvent.code')
final int code;
- /// @domName CloseEvent.reason; @docsEditable true
+ /// @docsEditable true
+ @DomName('CloseEvent.reason')
final String reason;
- /// @domName CloseEvent.wasClean; @docsEditable true
+ /// @docsEditable true
+ @DomName('CloseEvent.wasClean')
final bool wasClean;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1423,7 +1560,8 @@ class CloseEvent extends Event native "*CloseEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Comment; @docsEditable true
+/// @docsEditable true
+@DomName('Comment')
class Comment extends CharacterData native "*Comment" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1431,13 +1569,16 @@ class Comment extends CharacterData native "*Comment" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CompositionEvent; @docsEditable true
+/// @docsEditable true
+@DomName('CompositionEvent')
class CompositionEvent extends UIEvent native "*CompositionEvent" {
- /// @domName CompositionEvent.data; @docsEditable true
+ /// @docsEditable true
+ @DomName('CompositionEvent.data')
final String data;
- /// @domName CompositionEvent.initCompositionEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('CompositionEvent.initCompositionEvent')
void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, String dataArg) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1445,98 +1586,120 @@ class CompositionEvent extends UIEvent native "*CompositionEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Console
+@DomName('Console')
class Console {
static Console safeConsole = new Console();
bool get _isConsoleDefined => JS('bool', "typeof console != 'undefined'");
- /// @domName Console.memory; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.memory')
MemoryInfo get memory => _isConsoleDefined ?
JS('MemoryInfo', 'console.memory') : null;
- /// @domName Console.profiles; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.profiles')
List<ScriptProfile> get profiles => _isConsoleDefined ?
JS('List<ScriptProfile>', 'console.profiles') : null;
- /// @domName Console.assertCondition; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.assertCondition')
void assertCondition(bool condition, Object arg) => _isConsoleDefined ?
JS('void', 'console.assertCondition(#, #)', condition, arg) : null;
- /// @domName Console.count; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.count')
void count(Object arg) => _isConsoleDefined ?
JS('void', 'console.count(#)', arg) : null;
- /// @domName Console.debug; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.debug')
void debug(Object arg) => _isConsoleDefined ?
JS('void', 'console.debug(#)', arg) : null;
- /// @domName Console.dir; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.dir')
void dir(Object arg) => _isConsoleDefined ?
JS('void', 'console.debug(#)', arg) : null;
- /// @domName Console.dirxml; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.dirxml')
void dirxml(Object arg) => _isConsoleDefined ?
JS('void', 'console.dirxml(#)', arg) : null;
- /// @domName Console.error; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.error')
void error(Object arg) => _isConsoleDefined ?
JS('void', 'console.error(#)', arg) : null;
- /// @domName Console.group; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.group')
void group(Object arg) => _isConsoleDefined ?
JS('void', 'console.group(#)', arg) : null;
- /// @domName Console.groupCollapsed; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.groupCollapsed')
void groupCollapsed(Object arg) => _isConsoleDefined ?
JS('void', 'console.groupCollapsed(#)', arg) : null;
- /// @domName Console.groupEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.groupEnd')
void groupEnd() => _isConsoleDefined ?
JS('void', 'console.groupEnd()') : null;
- /// @domName Console.info; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.info')
void info(Object arg) => _isConsoleDefined ?
JS('void', 'console.info(#)', arg) : null;
- /// @domName Console.log; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.log')
void log(Object arg) => _isConsoleDefined ?
JS('void', 'console.log(#)', arg) : null;
- /// @domName Console.markTimeline; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.markTimeline')
void markTimeline(Object arg) => _isConsoleDefined ?
JS('void', 'console.markTimeline(#)', arg) : null;
- /// @domName Console.profile; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.profile')
void profile(String title) => _isConsoleDefined ?
JS('void', 'console.profile(#)', title) : null;
- /// @domName Console.profileEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.profileEnd')
void profileEnd(String title) => _isConsoleDefined ?
JS('void', 'console.profileEnd(#)', title) : null;
- /// @domName Console.time; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.time')
void time(String title) => _isConsoleDefined ?
JS('void', 'console.time(#)', title) : null;
- /// @domName Console.timeEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.timeEnd')
void timeEnd(String title, Object arg) => _isConsoleDefined ?
JS('void', 'console.timeEnd(#, #)', title, arg) : null;
- /// @domName Console.timeStamp; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.timeStamp')
void timeStamp(Object arg) => _isConsoleDefined ?
JS('void', 'console.timeStamp(#)', arg) : null;
- /// @domName Console.trace; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.trace')
void trace(Object arg) => _isConsoleDefined ?
JS('void', 'console.trace(#)', arg) : null;
- /// @domName Console.warn; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.warn')
void warn(Object arg) => _isConsoleDefined ?
JS('void', 'console.warn(#)', arg) : null;
- /// @domName Console.clear; @docsEditable true
+ /// @docsEditable true
+ @DomName('Console.clear')
void clear(Object arg) native;
}
@@ -1545,24 +1708,28 @@ class Console {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLContentElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLContentElement')
@SupportedBrowser(SupportedBrowser.CHROME, '25')
@Experimental()
class ContentElement extends Element native "*HTMLContentElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory ContentElement() => document.$dom_createElement("content");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('content');
- /// @domName HTMLContentElement.resetStyleInheritance; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLContentElement.resetStyleInheritance')
bool resetStyleInheritance;
- /// @domName HTMLContentElement.select; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLContentElement.select')
String select;
- /// @domName HTMLContentElement.getDistributedNodes; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLContentElement.getDistributedNodes')
@Returns('NodeList') @Creates('NodeList')
List<Node> getDistributedNodes() native;
}
@@ -1571,28 +1738,36 @@ class ContentElement extends Element native "*HTMLContentElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Coordinates; @docsEditable true
+/// @docsEditable true
+@DomName('Coordinates')
class Coordinates native "*Coordinates" {
- /// @domName Coordinates.accuracy; @docsEditable true
+ /// @docsEditable true
+ @DomName('Coordinates.accuracy')
final num accuracy;
- /// @domName Coordinates.altitude; @docsEditable true
+ /// @docsEditable true
+ @DomName('Coordinates.altitude')
final num altitude;
- /// @domName Coordinates.altitudeAccuracy; @docsEditable true
+ /// @docsEditable true
+ @DomName('Coordinates.altitudeAccuracy')
final num altitudeAccuracy;
- /// @domName Coordinates.heading; @docsEditable true
+ /// @docsEditable true
+ @DomName('Coordinates.heading')
final num heading;
- /// @domName Coordinates.latitude; @docsEditable true
+ /// @docsEditable true
+ @DomName('Coordinates.latitude')
final num latitude;
- /// @domName Coordinates.longitude; @docsEditable true
+ /// @docsEditable true
+ @DomName('Coordinates.longitude')
final num longitude;
- /// @domName Coordinates.speed; @docsEditable true
+ /// @docsEditable true
+ @DomName('Coordinates.speed')
final num speed;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1600,16 +1775,20 @@ class Coordinates native "*Coordinates" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Counter; @docsEditable true
+/// @docsEditable true
+@DomName('Counter')
class Counter native "*Counter" {
- /// @domName Counter.identifier; @docsEditable true
+ /// @docsEditable true
+ @DomName('Counter.identifier')
final String identifier;
- /// @domName Counter.listStyle; @docsEditable true
+ /// @docsEditable true
+ @DomName('Counter.listStyle')
final String listStyle;
- /// @domName Counter.separator; @docsEditable true
+ /// @docsEditable true
+ @DomName('Counter.separator')
final String separator;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1617,10 +1796,12 @@ class Counter native "*Counter" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Crypto; @docsEditable true
+/// @docsEditable true
+@DomName('Crypto')
class Crypto native "*Crypto" {
- /// @domName Crypto.getRandomValues; @docsEditable true
+ /// @docsEditable true
+ @DomName('Crypto.getRandomValues')
void getRandomValues(ArrayBufferView array) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1628,10 +1809,12 @@ class Crypto native "*Crypto" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSCharsetRule; @docsEditable true
+/// @docsEditable true
+@DomName('CSSCharsetRule')
class CssCharsetRule extends CssRule native "*CSSCharsetRule" {
- /// @domName CSSCharsetRule.encoding; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSCharsetRule.encoding')
String encoding;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1639,10 +1822,12 @@ class CssCharsetRule extends CssRule native "*CSSCharsetRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSFontFaceRule; @docsEditable true
+/// @docsEditable true
+@DomName('CSSFontFaceRule')
class CssFontFaceRule extends CssRule native "*CSSFontFaceRule" {
- /// @domName CSSFontFaceRule.style; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSFontFaceRule.style')
final CssStyleDeclaration style;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1650,16 +1835,20 @@ class CssFontFaceRule extends CssRule native "*CSSFontFaceRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSImportRule; @docsEditable true
+/// @docsEditable true
+@DomName('CSSImportRule')
class CssImportRule extends CssRule native "*CSSImportRule" {
- /// @domName CSSImportRule.href; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSImportRule.href')
final String href;
- /// @domName CSSImportRule.media; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSImportRule.media')
final MediaList media;
- /// @domName CSSImportRule.styleSheet; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSImportRule.styleSheet')
final CssStyleSheet styleSheet;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1667,13 +1856,16 @@ class CssImportRule extends CssRule native "*CSSImportRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitCSSKeyframeRule; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitCSSKeyframeRule')
class CssKeyframeRule extends CssRule native "*WebKitCSSKeyframeRule" {
- /// @domName WebKitCSSKeyframeRule.keyText; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSKeyframeRule.keyText')
String keyText;
- /// @domName WebKitCSSKeyframeRule.style; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSKeyframeRule.style')
final CssStyleDeclaration style;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1681,23 +1873,29 @@ class CssKeyframeRule extends CssRule native "*WebKitCSSKeyframeRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitCSSKeyframesRule; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitCSSKeyframesRule')
class CssKeyframesRule extends CssRule native "*WebKitCSSKeyframesRule" {
- /// @domName WebKitCSSKeyframesRule.cssRules; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSKeyframesRule.cssRules')
@Returns('_CssRuleList') @Creates('_CssRuleList')
final List<CssRule> cssRules;
- /// @domName WebKitCSSKeyframesRule.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSKeyframesRule.name')
String name;
- /// @domName WebKitCSSKeyframesRule.deleteRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSKeyframesRule.deleteRule')
void deleteRule(String key) native;
- /// @domName WebKitCSSKeyframesRule.findRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSKeyframesRule.findRule')
CssKeyframeRule findRule(String key) native;
- /// @domName WebKitCSSKeyframesRule.insertRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSKeyframesRule.insertRule')
void insertRule(String rule) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1705,10 +1903,11 @@ class CssKeyframesRule extends CssRule native "*WebKitCSSKeyframesRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitCSSMatrix; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitCSSMatrix')
class CssMatrix native "*WebKitCSSMatrix" {
- ///@docsEditable true
+ /// @docsEditable true
factory CssMatrix([String cssValue]) {
if (!?cssValue) {
return CssMatrix._create();
@@ -1722,100 +1921,132 @@ class CssMatrix native "*WebKitCSSMatrix" {
return JS('CssMatrix', 'new WebKitCSSMatrix(#)', cssValue);
}
- /// @domName WebKitCSSMatrix.a; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.a')
num a;
- /// @domName WebKitCSSMatrix.b; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.b')
num b;
- /// @domName WebKitCSSMatrix.c; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.c')
num c;
- /// @domName WebKitCSSMatrix.d; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.d')
num d;
- /// @domName WebKitCSSMatrix.e; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.e')
num e;
- /// @domName WebKitCSSMatrix.f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.f')
num f;
- /// @domName WebKitCSSMatrix.m11; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m11')
num m11;
- /// @domName WebKitCSSMatrix.m12; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m12')
num m12;
- /// @domName WebKitCSSMatrix.m13; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m13')
num m13;
- /// @domName WebKitCSSMatrix.m14; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m14')
num m14;
- /// @domName WebKitCSSMatrix.m21; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m21')
num m21;
- /// @domName WebKitCSSMatrix.m22; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m22')
num m22;
- /// @domName WebKitCSSMatrix.m23; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m23')
num m23;
- /// @domName WebKitCSSMatrix.m24; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m24')
num m24;
- /// @domName WebKitCSSMatrix.m31; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m31')
num m31;
- /// @domName WebKitCSSMatrix.m32; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m32')
num m32;
- /// @domName WebKitCSSMatrix.m33; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m33')
num m33;
- /// @domName WebKitCSSMatrix.m34; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m34')
num m34;
- /// @domName WebKitCSSMatrix.m41; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m41')
num m41;
- /// @domName WebKitCSSMatrix.m42; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m42')
num m42;
- /// @domName WebKitCSSMatrix.m43; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m43')
num m43;
- /// @domName WebKitCSSMatrix.m44; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.m44')
num m44;
- /// @domName WebKitCSSMatrix.inverse; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.inverse')
CssMatrix inverse() native;
- /// @domName WebKitCSSMatrix.multiply; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.multiply')
CssMatrix multiply(CssMatrix secondMatrix) native;
- /// @domName WebKitCSSMatrix.rotate; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.rotate')
CssMatrix rotate(num rotX, num rotY, num rotZ) native;
- /// @domName WebKitCSSMatrix.rotateAxisAngle; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.rotateAxisAngle')
CssMatrix rotateAxisAngle(num x, num y, num z, num angle) native;
- /// @domName WebKitCSSMatrix.scale; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.scale')
CssMatrix scale(num scaleX, num scaleY, num scaleZ) native;
- /// @domName WebKitCSSMatrix.setMatrixValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.setMatrixValue')
void setMatrixValue(String string) native;
- /// @domName WebKitCSSMatrix.skewX; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.skewX')
CssMatrix skewX(num angle) native;
- /// @domName WebKitCSSMatrix.skewY; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.skewY')
CssMatrix skewY(num angle) native;
- /// @domName WebKitCSSMatrix.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.toString')
String toString() native;
- /// @domName WebKitCSSMatrix.translate; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSMatrix.translate')
CssMatrix translate(num x, num y, num z) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1823,20 +2054,25 @@ class CssMatrix native "*WebKitCSSMatrix" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSMediaRule; @docsEditable true
+/// @docsEditable true
+@DomName('CSSMediaRule')
class CssMediaRule extends CssRule native "*CSSMediaRule" {
- /// @domName CSSMediaRule.cssRules; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSMediaRule.cssRules')
@Returns('_CssRuleList') @Creates('_CssRuleList')
final List<CssRule> cssRules;
- /// @domName CSSMediaRule.media; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSMediaRule.media')
final MediaList media;
- /// @domName CSSMediaRule.deleteRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSMediaRule.deleteRule')
void deleteRule(int index) native;
- /// @domName CSSMediaRule.insertRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSMediaRule.insertRule')
int insertRule(String rule, int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1844,13 +2080,16 @@ class CssMediaRule extends CssRule native "*CSSMediaRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSPageRule; @docsEditable true
+/// @docsEditable true
+@DomName('CSSPageRule')
class CssPageRule extends CssRule native "*CSSPageRule" {
- /// @domName CSSPageRule.selectorText; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPageRule.selectorText')
String selectorText;
- /// @domName CSSPageRule.style; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPageRule.style')
final CssStyleDeclaration style;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1858,7 +2097,8 @@ class CssPageRule extends CssRule native "*CSSPageRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSPrimitiveValue; @docsEditable true
+/// @docsEditable true
+@DomName('CSSPrimitiveValue')
class CssPrimitiveValue extends CssValue native "*CSSPrimitiveValue" {
static const int CSS_ATTR = 22;
@@ -1919,29 +2159,37 @@ class CssPrimitiveValue extends CssValue native "*CSSPrimitiveValue" {
static const int CSS_VW = 26;
- /// @domName CSSPrimitiveValue.primitiveType; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPrimitiveValue.primitiveType')
final int primitiveType;
- /// @domName CSSPrimitiveValue.getCounterValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPrimitiveValue.getCounterValue')
Counter getCounterValue() native;
- /// @domName CSSPrimitiveValue.getFloatValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPrimitiveValue.getFloatValue')
num getFloatValue(int unitType) native;
- /// @domName CSSPrimitiveValue.getRGBColorValue; @docsEditable true
+ /// @docsEditable true
@JSName('getRGBColorValue')
+ @DomName('CSSPrimitiveValue.getRGBColorValue')
RgbColor getRgbColorValue() native;
- /// @domName CSSPrimitiveValue.getRectValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPrimitiveValue.getRectValue')
Rect getRectValue() native;
- /// @domName CSSPrimitiveValue.getStringValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPrimitiveValue.getStringValue')
String getStringValue() native;
- /// @domName CSSPrimitiveValue.setFloatValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPrimitiveValue.setFloatValue')
void setFloatValue(int unitType, num floatValue) native;
- /// @domName CSSPrimitiveValue.setStringValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSPrimitiveValue.setStringValue')
void setStringValue(int stringType, String stringValue) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1949,7 +2197,8 @@ class CssPrimitiveValue extends CssValue native "*CSSPrimitiveValue" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSRule; @docsEditable true
+/// @docsEditable true
+@DomName('CSSRule')
class CssRule native "*CSSRule" {
static const int CHARSET_RULE = 2;
@@ -1970,16 +2219,20 @@ class CssRule native "*CSSRule" {
static const int WEBKIT_KEYFRAME_RULE = 8;
- /// @domName CSSRule.cssText; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSRule.cssText')
String cssText;
- /// @domName CSSRule.parentRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSRule.parentRule')
final CssRule parentRule;
- /// @domName CSSRule.parentStyleSheet; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSRule.parentStyleSheet')
final CssStyleSheet parentStyleSheet;
- /// @domName CSSRule.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSRule.type')
final int type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -2004,43 +2257,53 @@ String get _browserPrefix {
return _cachedBrowserPrefix;
}
-/// @domName CSSStyleDeclaration
+@DomName('CSSStyleDeclaration')
class CssStyleDeclaration native "*CSSStyleDeclaration" {
factory CssStyleDeclaration() => _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration();
factory CssStyleDeclaration.css(String css) =>
_CssStyleDeclarationFactoryProvider.createCssStyleDeclaration_css(css);
- /// @domName CSSStyleDeclaration.cssText; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleDeclaration.cssText')
String cssText;
- /// @domName CSSStyleDeclaration.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleDeclaration.length')
final int length;
- /// @domName CSSStyleDeclaration.parentRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleDeclaration.parentRule')
final CssRule parentRule;
- /// @domName CSSStyleDeclaration.getPropertyCSSValue; @docsEditable true
+ /// @docsEditable true
@JSName('getPropertyCSSValue')
+ @DomName('CSSStyleDeclaration.getPropertyCSSValue')
CssValue getPropertyCssValue(String propertyName) native;
- /// @domName CSSStyleDeclaration.getPropertyPriority; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleDeclaration.getPropertyPriority')
String getPropertyPriority(String propertyName) native;
- /// @domName CSSStyleDeclaration.getPropertyShorthand; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleDeclaration.getPropertyShorthand')
String getPropertyShorthand(String propertyName) native;
- /// @domName CSSStyleDeclaration._getPropertyValue; @docsEditable true
+ /// @docsEditable true
@JSName('getPropertyValue')
+ @DomName('CSSStyleDeclaration.getPropertyValue')
String _getPropertyValue(String propertyName) native;
- /// @domName CSSStyleDeclaration.isPropertyImplicit; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleDeclaration.isPropertyImplicit')
bool isPropertyImplicit(String propertyName) native;
- /// @domName CSSStyleDeclaration.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleDeclaration.item')
String item(int index) native;
- /// @domName CSSStyleDeclaration.removeProperty; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleDeclaration.removeProperty')
String removeProperty(String propertyName) native;
@@ -5213,13 +5476,16 @@ class CssStyleDeclaration native "*CSSStyleDeclaration" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSStyleRule; @docsEditable true
+/// @docsEditable true
+@DomName('CSSStyleRule')
class CssStyleRule extends CssRule native "*CSSStyleRule" {
- /// @domName CSSStyleRule.selectorText; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleRule.selectorText')
String selectorText;
- /// @domName CSSStyleRule.style; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleRule.style')
final CssStyleDeclaration style;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5227,30 +5493,38 @@ class CssStyleRule extends CssRule native "*CSSStyleRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSStyleSheet; @docsEditable true
+/// @docsEditable true
+@DomName('CSSStyleSheet')
class CssStyleSheet extends StyleSheet native "*CSSStyleSheet" {
- /// @domName CSSStyleSheet.cssRules; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleSheet.cssRules')
@Returns('_CssRuleList') @Creates('_CssRuleList')
final List<CssRule> cssRules;
- /// @domName CSSStyleSheet.ownerRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleSheet.ownerRule')
final CssRule ownerRule;
- /// @domName CSSStyleSheet.rules; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleSheet.rules')
@Returns('_CssRuleList') @Creates('_CssRuleList')
final List<CssRule> rules;
- /// @domName CSSStyleSheet.addRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleSheet.addRule')
int addRule(String selector, String style, [int index]) native;
- /// @domName CSSStyleSheet.deleteRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleSheet.deleteRule')
void deleteRule(int index) native;
- /// @domName CSSStyleSheet.insertRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleSheet.insertRule')
int insertRule(String rule, int index) native;
- /// @domName CSSStyleSheet.removeRule; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSStyleSheet.removeRule')
void removeRule(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5258,7 +5532,8 @@ class CssStyleSheet extends StyleSheet native "*CSSStyleSheet" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitCSSTransformValue; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitCSSTransformValue')
class CssTransformValue extends _CssValueList native "*WebKitCSSTransformValue" {
static const int CSS_MATRIX = 11;
@@ -5303,7 +5578,8 @@ class CssTransformValue extends _CssValueList native "*WebKitCSSTransformValue"
static const int CSS_TRANSLATEZ = 12;
- /// @domName WebKitCSSTransformValue.operationType; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSTransformValue.operationType')
final int operationType;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5311,7 +5587,8 @@ class CssTransformValue extends _CssValueList native "*WebKitCSSTransformValue"
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSUnknownRule; @docsEditable true
+/// @docsEditable true
+@DomName('CSSUnknownRule')
class CssUnknownRule extends CssRule native "*CSSUnknownRule" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5319,7 +5596,8 @@ class CssUnknownRule extends CssRule native "*CSSUnknownRule" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSValue; @docsEditable true
+/// @docsEditable true
+@DomName('CSSValue')
class CssValue native "*CSSValue" {
static const int CSS_CUSTOM = 3;
@@ -5330,10 +5608,12 @@ class CssValue native "*CSSValue" {
static const int CSS_VALUE_LIST = 2;
- /// @domName CSSValue.cssText; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSValue.cssText')
String cssText;
- /// @domName CSSValue.cssValueType; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSValue.cssValueType')
final int cssValueType;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5343,17 +5623,19 @@ class CssValue native "*CSSValue" {
// WARNING: Do not edit - generated code.
-/// @domName CustomEvent
+@DomName('CustomEvent')
class CustomEvent extends Event native "*CustomEvent" {
factory CustomEvent(String type, [bool canBubble = true, bool cancelable = true,
Object detail]) => _CustomEventFactoryProvider.createCustomEvent(
type, canBubble, cancelable, detail);
- /// @domName CustomEvent.detail; @docsEditable true
+ /// @docsEditable true
+ @DomName('CustomEvent.detail')
final Object detail;
- /// @domName CustomEvent.initCustomEvent; @docsEditable true
+ /// @docsEditable true
@JSName('initCustomEvent')
+ @DomName('CustomEvent.initCustomEvent')
void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object detailArg) native;
}
@@ -5362,10 +5644,11 @@ class CustomEvent extends Event native "*CustomEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLDListElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLDListElement')
class DListElement extends Element native "*HTMLDListElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory DListElement() => document.$dom_createElement("dl");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5373,20 +5656,22 @@ class DListElement extends Element native "*HTMLDListElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLDataListElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLDataListElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
class DataListElement extends Element native "*HTMLDataListElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory DataListElement() => document.$dom_createElement("datalist");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('datalist');
- /// @domName HTMLDataListElement.options; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLDataListElement.options')
final HtmlCollection options;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5394,22 +5679,28 @@ class DataListElement extends Element native "*HTMLDataListElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DataTransferItem; @docsEditable true
+/// @docsEditable true
+@DomName('DataTransferItem')
class DataTransferItem native "*DataTransferItem" {
- /// @domName DataTransferItem.kind; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItem.kind')
final String kind;
- /// @domName DataTransferItem.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItem.type')
final String type;
- /// @domName DataTransferItem.getAsFile; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItem.getAsFile')
Blob getAsFile() native;
- /// @domName DataTransferItem.getAsString; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItem.getAsString')
void getAsString([StringCallback callback]) native;
- /// @domName DataTransferItem.webkitGetAsEntry; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItem.webkitGetAsEntry')
Entry webkitGetAsEntry() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5417,19 +5708,24 @@ class DataTransferItem native "*DataTransferItem" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DataTransferItemList; @docsEditable true
+/// @docsEditable true
+@DomName('DataTransferItemList')
class DataTransferItemList native "*DataTransferItemList" {
- /// @domName DataTransferItemList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItemList.length')
final int length;
- /// @domName DataTransferItemList.add; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItemList.add')
void add(data_OR_file, [String type]) native;
- /// @domName DataTransferItemList.clear; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItemList.clear')
void clear() native;
- /// @domName DataTransferItemList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataTransferItemList.item')
DataTransferItem item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5437,10 +5733,11 @@ class DataTransferItemList native "*DataTransferItemList" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DataView; @docsEditable true
+/// @docsEditable true
+@DomName('DataView')
class DataView extends ArrayBufferView native "*DataView" {
- ///@docsEditable true
+ /// @docsEditable true
factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) {
if (!?byteOffset) {
return DataView._create(buffer);
@@ -5460,52 +5757,68 @@ class DataView extends ArrayBufferView native "*DataView" {
return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength);
}
- /// @domName DataView.getFloat32; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.getFloat32')
num getFloat32(int byteOffset, {bool littleEndian}) native;
- /// @domName DataView.getFloat64; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.getFloat64')
num getFloat64(int byteOffset, {bool littleEndian}) native;
- /// @domName DataView.getInt16; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.getInt16')
int getInt16(int byteOffset, {bool littleEndian}) native;
- /// @domName DataView.getInt32; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.getInt32')
int getInt32(int byteOffset, {bool littleEndian}) native;
- /// @domName DataView.getInt8; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.getInt8')
int getInt8(int byteOffset) native;
- /// @domName DataView.getUint16; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.getUint16')
int getUint16(int byteOffset, {bool littleEndian}) native;
- /// @domName DataView.getUint32; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.getUint32')
int getUint32(int byteOffset, {bool littleEndian}) native;
- /// @domName DataView.getUint8; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.getUint8')
int getUint8(int byteOffset) native;
- /// @domName DataView.setFloat32; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.setFloat32')
void setFloat32(int byteOffset, num value, {bool littleEndian}) native;
- /// @domName DataView.setFloat64; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.setFloat64')
void setFloat64(int byteOffset, num value, {bool littleEndian}) native;
- /// @domName DataView.setInt16; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.setInt16')
void setInt16(int byteOffset, int value, {bool littleEndian}) native;
- /// @domName DataView.setInt32; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.setInt32')
void setInt32(int byteOffset, int value, {bool littleEndian}) native;
- /// @domName DataView.setInt8; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.setInt8')
void setInt8(int byteOffset, int value) native;
- /// @domName DataView.setUint16; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.setUint16')
void setUint16(int byteOffset, int value, {bool littleEndian}) native;
- /// @domName DataView.setUint32; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.setUint32')
void setUint32(int byteOffset, int value, {bool littleEndian}) native;
- /// @domName DataView.setUint8; @docsEditable true
+ /// @docsEditable true
+ @DomName('DataView.setUint8')
void setUint8(int byteOffset, int value) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5513,19 +5826,24 @@ class DataView extends ArrayBufferView native "*DataView" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Database; @docsEditable true
+/// @docsEditable true
+@DomName('Database')
class Database native "*Database" {
- /// @domName Database.version; @docsEditable true
+ /// @docsEditable true
+ @DomName('Database.version')
final String version;
- /// @domName Database.changeVersion; @docsEditable true
+ /// @docsEditable true
+ @DomName('Database.changeVersion')
void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallback callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
- /// @domName Database.readTransaction; @docsEditable true
+ /// @docsEditable true
+ @DomName('Database.readTransaction')
void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
- /// @domName Database.transaction; @docsEditable true
+ /// @docsEditable true
+ @DomName('Database.transaction')
void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5541,22 +5859,28 @@ typedef void DatabaseCallback(database);
// BSD-style license that can be found in the LICENSE file.
-/// @domName DatabaseSync; @docsEditable true
+/// @docsEditable true
+@DomName('DatabaseSync')
class DatabaseSync native "*DatabaseSync" {
- /// @domName DatabaseSync.lastErrorMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('DatabaseSync.lastErrorMessage')
final String lastErrorMessage;
- /// @domName DatabaseSync.version; @docsEditable true
+ /// @docsEditable true
+ @DomName('DatabaseSync.version')
final String version;
- /// @domName DatabaseSync.changeVersion; @docsEditable true
+ /// @docsEditable true
+ @DomName('DatabaseSync.changeVersion')
void changeVersion(String oldVersion, String newVersion, [SqlTransactionSyncCallback callback]) native;
- /// @domName DatabaseSync.readTransaction; @docsEditable true
+ /// @docsEditable true
+ @DomName('DatabaseSync.readTransaction')
void readTransaction(SqlTransactionSyncCallback callback) native;
- /// @domName DatabaseSync.transaction; @docsEditable true
+ /// @docsEditable true
+ @DomName('DatabaseSync.transaction')
void transaction(SqlTransactionSyncCallback callback) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5564,16 +5888,18 @@ class DatabaseSync native "*DatabaseSync" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DedicatedWorkerContext; @docsEditable true
+/// @docsEditable true
+@DomName('DedicatedWorkerContext')
class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerContext" {
static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
DedicatedWorkerContextEvents get on =>
new DedicatedWorkerContextEvents(this);
- /// @domName DedicatedWorkerContext.postMessage; @docsEditable true
+ /// @docsEditable true
void postMessage(/*any*/ message, [List messagePorts]) {
if (?messagePorts) {
var message_1 = convertDartToNative_SerializedScriptValue(message);
@@ -5585,8 +5911,10 @@ class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerConte
return;
}
@JSName('postMessage')
+ @DomName('DedicatedWorkerContext.postMessage')
void _postMessage_1(message, List messagePorts) native;
@JSName('postMessage')
+ @DomName('DedicatedWorkerContext.postMessage')
void _postMessage_2(message) native;
Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);
@@ -5605,19 +5933,21 @@ class DedicatedWorkerContextEvents extends WorkerContextEvents {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLDetailsElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLDetailsElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
class DetailsElement extends Element native "*HTMLDetailsElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory DetailsElement() => document.$dom_createElement("details");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('details');
- /// @domName HTMLDetailsElement.open; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLDetailsElement.open')
bool open;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5625,10 +5955,12 @@ class DetailsElement extends Element native "*HTMLDetailsElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DeviceMotionEvent; @docsEditable true
+/// @docsEditable true
+@DomName('DeviceMotionEvent')
class DeviceMotionEvent extends Event native "*DeviceMotionEvent" {
- /// @domName DeviceMotionEvent.interval; @docsEditable true
+ /// @docsEditable true
+ @DomName('DeviceMotionEvent.interval')
final num interval;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5636,22 +5968,28 @@ class DeviceMotionEvent extends Event native "*DeviceMotionEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DeviceOrientationEvent; @docsEditable true
+/// @docsEditable true
+@DomName('DeviceOrientationEvent')
class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" {
- /// @domName DeviceOrientationEvent.absolute; @docsEditable true
+ /// @docsEditable true
+ @DomName('DeviceOrientationEvent.absolute')
final bool absolute;
- /// @domName DeviceOrientationEvent.alpha; @docsEditable true
+ /// @docsEditable true
+ @DomName('DeviceOrientationEvent.alpha')
final num alpha;
- /// @domName DeviceOrientationEvent.beta; @docsEditable true
+ /// @docsEditable true
+ @DomName('DeviceOrientationEvent.beta')
final num beta;
- /// @domName DeviceOrientationEvent.gamma; @docsEditable true
+ /// @docsEditable true
+ @DomName('DeviceOrientationEvent.gamma')
final num gamma;
- /// @domName DeviceOrientationEvent.initDeviceOrientationEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('DeviceOrientationEvent.initDeviceOrientationEvent')
void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, num alpha, num beta, num gamma, bool absolute) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5659,10 +5997,12 @@ class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLDirectoryElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLDirectoryElement')
class DirectoryElement extends Element native "*HTMLDirectoryElement" {
- /// @domName HTMLDirectoryElement.compact; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLDirectoryElement.compact')
bool compact;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5670,13 +6010,15 @@ class DirectoryElement extends Element native "*HTMLDirectoryElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DirectoryEntry; @docsEditable true
+/// @docsEditable true
+@DomName('DirectoryEntry')
class DirectoryEntry extends Entry native "*DirectoryEntry" {
- /// @domName DirectoryEntry.createReader; @docsEditable true
+ /// @docsEditable true
+ @DomName('DirectoryEntry.createReader')
DirectoryReader createReader() native;
- /// @domName DirectoryEntry.getDirectory; @docsEditable true
+ /// @docsEditable true
void getDirectory(String path, {Map options, EntryCallback successCallback, ErrorCallback errorCallback}) {
if (?errorCallback) {
var options_1 = convertDartToNative_Dictionary(options);
@@ -5697,15 +6039,19 @@ class DirectoryEntry extends Entry native "*DirectoryEntry" {
return;
}
@JSName('getDirectory')
+ @DomName('DirectoryEntry.getDirectory')
void _getDirectory_1(path, options, EntryCallback successCallback, ErrorCallback errorCallback) native;
@JSName('getDirectory')
+ @DomName('DirectoryEntry.getDirectory')
void _getDirectory_2(path, options, EntryCallback successCallback) native;
@JSName('getDirectory')
+ @DomName('DirectoryEntry.getDirectory')
void _getDirectory_3(path, options) native;
@JSName('getDirectory')
+ @DomName('DirectoryEntry.getDirectory')
void _getDirectory_4(path) native;
- /// @domName DirectoryEntry.getFile; @docsEditable true
+ /// @docsEditable true
void getFile(String path, {Map options, EntryCallback successCallback, ErrorCallback errorCallback}) {
if (?errorCallback) {
var options_1 = convertDartToNative_Dictionary(options);
@@ -5726,15 +6072,20 @@ class DirectoryEntry extends Entry native "*DirectoryEntry" {
return;
}
@JSName('getFile')
+ @DomName('DirectoryEntry.getFile')
void _getFile_1(path, options, EntryCallback successCallback, ErrorCallback errorCallback) native;
@JSName('getFile')
+ @DomName('DirectoryEntry.getFile')
void _getFile_2(path, options, EntryCallback successCallback) native;
@JSName('getFile')
+ @DomName('DirectoryEntry.getFile')
void _getFile_3(path, options) native;
@JSName('getFile')
+ @DomName('DirectoryEntry.getFile')
void _getFile_4(path) native;
- /// @domName DirectoryEntry.removeRecursively; @docsEditable true
+ /// @docsEditable true
+ @DomName('DirectoryEntry.removeRecursively')
void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallback]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5742,29 +6093,34 @@ class DirectoryEntry extends Entry native "*DirectoryEntry" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DirectoryEntrySync; @docsEditable true
+/// @docsEditable true
+@DomName('DirectoryEntrySync')
class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" {
- /// @domName DirectoryEntrySync.createReader; @docsEditable true
+ /// @docsEditable true
+ @DomName('DirectoryEntrySync.createReader')
DirectoryReaderSync createReader() native;
- /// @domName DirectoryEntrySync.getDirectory; @docsEditable true
+ /// @docsEditable true
DirectoryEntrySync getDirectory(String path, Map flags) {
var flags_1 = convertDartToNative_Dictionary(flags);
return _getDirectory_1(path, flags_1);
}
@JSName('getDirectory')
+ @DomName('DirectoryEntrySync.getDirectory')
DirectoryEntrySync _getDirectory_1(path, flags) native;
- /// @domName DirectoryEntrySync.getFile; @docsEditable true
+ /// @docsEditable true
FileEntrySync getFile(String path, Map flags) {
var flags_1 = convertDartToNative_Dictionary(flags);
return _getFile_1(path, flags_1);
}
@JSName('getFile')
+ @DomName('DirectoryEntrySync.getFile')
FileEntrySync _getFile_1(path, flags) native;
- /// @domName DirectoryEntrySync.removeRecursively; @docsEditable true
+ /// @docsEditable true
+ @DomName('DirectoryEntrySync.removeRecursively')
void removeRecursively() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5772,10 +6128,12 @@ class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DirectoryReader; @docsEditable true
+/// @docsEditable true
+@DomName('DirectoryReader')
class DirectoryReader native "*DirectoryReader" {
- /// @domName DirectoryReader.readEntries; @docsEditable true
+ /// @docsEditable true
+ @DomName('DirectoryReader.readEntries')
void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5783,10 +6141,12 @@ class DirectoryReader native "*DirectoryReader" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DirectoryReaderSync; @docsEditable true
+/// @docsEditable true
+@DomName('DirectoryReaderSync')
class DirectoryReaderSync native "*DirectoryReaderSync" {
- /// @domName DirectoryReaderSync.readEntries; @docsEditable true
+ /// @docsEditable true
+ @DomName('DirectoryReaderSync.readEntries')
@Returns('_EntryArraySync') @Creates('_EntryArraySync')
List<EntrySync> readEntries() native;
}
@@ -5795,31 +6155,11 @@ class DirectoryReaderSync native "*DirectoryReaderSync" {
// BSD-style license that can be found in the LICENSE file.
-/**
- * Represents an HTML <div> element.
- *
- * The [DivElement] is a generic container for content and does not have any
- * special significance. It is functionally similar to [SpanElement].
- *
- * The [DivElement] is a block-level element, as opposed to [SpanElement],
- * which is an inline-level element.
- *
- * Example usage:
- *
- * DivElement div = new DivElement();
- * div.text = 'Here's my new DivElem
- * document.body.elements.add(elem);
- *
- * See also:
- *
- * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C.
- * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) from W3C.
- * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C.
- */
-/// @domName HTMLDivElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLDivElement')
class DivElement extends Element native "*HTMLDivElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory DivElement() => document.$dom_createElement("div");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -5827,7 +6167,7 @@ class DivElement extends Element native "*HTMLDivElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Document
+@DomName('Document')
/**
* The base class for all documents.
*
@@ -5939,220 +6279,268 @@ class Document extends Node native "*Document"
static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStreamProvider<Event>('webkitpointerlockerror');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
DocumentEvents get on =>
new DocumentEvents(this);
/// Moved to [HtmlDocument].
- /// @domName Document.body; @docsEditable true
+ /// @docsEditable true
@JSName('body')
+ @DomName('Document.body')
Element $dom_body;
- /// @domName Document.charset; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.charset')
String charset;
- /// @domName Document.cookie; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.cookie')
String cookie;
- /// @domName Document.defaultView; @docsEditable true
+ /// @docsEditable true
WindowBase get window => _convertNativeToDart_Window(this._window);
@JSName('defaultView')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('Document.window') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _window;
- /// @domName Document.documentElement; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.documentElement')
final Element documentElement;
- /// @domName Document.domain; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.domain')
final String domain;
/// Moved to [HtmlDocument].
- /// @domName Document.head; @docsEditable true
+ /// @docsEditable true
@JSName('head')
+ @DomName('Document.head')
final HeadElement $dom_head;
- /// @domName Document.implementation; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.implementation')
final DomImplementation implementation;
/// Moved to [HtmlDocument].
- /// @domName Document.lastModified; @docsEditable true
+ /// @docsEditable true
@JSName('lastModified')
+ @DomName('Document.lastModified')
final String $dom_lastModified;
- /// @domName Document.preferredStylesheetSet; @docsEditable true
+ /// @docsEditable true
@JSName('preferredStylesheetSet')
+ @DomName('Document.preferredStylesheetSet')
final String $dom_preferredStylesheetSet;
- /// @domName Document.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.readyState')
final String readyState;
/// Moved to [HtmlDocument].
- /// @domName Document.referrer; @docsEditable true
+ /// @docsEditable true
@JSName('referrer')
+ @DomName('Document.referrer')
final String $dom_referrer;
- /// @domName Document.selectedStylesheetSet; @docsEditable true
+ /// @docsEditable true
@JSName('selectedStylesheetSet')
+ @DomName('Document.selectedStylesheetSet')
String $dom_selectedStylesheetSet;
/// Moved to [HtmlDocument].
- /// @domName Document.styleSheets; @docsEditable true
+ /// @docsEditable true
@JSName('styleSheets')
+ @DomName('Document.styleSheets')
@Returns('_StyleSheetList') @Creates('_StyleSheetList')
final List<StyleSheet> $dom_styleSheets;
/// Moved to [HtmlDocument].
- /// @domName Document.title; @docsEditable true
+ /// @docsEditable true
@JSName('title')
+ @DomName('Document.title')
String $dom_title;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitFullscreenElement; @docsEditable true
+ /// @docsEditable true
@JSName('webkitFullscreenElement')
+ @DomName('Document.webkitFullscreenElement')
final Element $dom_webkitFullscreenElement;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitFullscreenEnabled; @docsEditable true
+ /// @docsEditable true
@JSName('webkitFullscreenEnabled')
+ @DomName('Document.webkitFullscreenEnabled')
final bool $dom_webkitFullscreenEnabled;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitHidden; @docsEditable true
+ /// @docsEditable true
@JSName('webkitHidden')
+ @DomName('Document.webkitHidden')
final bool $dom_webkitHidden;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitIsFullScreen; @docsEditable true
+ /// @docsEditable true
@JSName('webkitIsFullScreen')
+ @DomName('Document.webkitIsFullScreen')
final bool $dom_webkitIsFullScreen;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitPointerLockElement; @docsEditable true
+ /// @docsEditable true
@JSName('webkitPointerLockElement')
+ @DomName('Document.webkitPointerLockElement')
final Element $dom_webkitPointerLockElement;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitVisibilityState; @docsEditable true
+ /// @docsEditable true
@JSName('webkitVisibilityState')
+ @DomName('Document.webkitVisibilityState')
final String $dom_webkitVisibilityState;
/// Use the [Range] constructor instead.
- /// @domName Document.caretRangeFromPoint; @docsEditable true
+ /// @docsEditable true
@JSName('caretRangeFromPoint')
+ @DomName('Document.caretRangeFromPoint')
Range $dom_caretRangeFromPoint(int x, int y) native;
- /// @domName Document.createCDATASection; @docsEditable true
+ /// @docsEditable true
@JSName('createCDATASection')
+ @DomName('Document.createCDATASection')
CDataSection createCDataSection(String data) native;
- /// @domName Document.createDocumentFragment; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.createDocumentFragment')
DocumentFragment createDocumentFragment() native;
/// Deprecated: use new Element.tag(tagName) instead.
- /// @domName Document.createElement; @docsEditable true
+ /// @docsEditable true
@JSName('createElement')
+ @DomName('Document.createElement')
Element $dom_createElement(String tagName) native;
- /// @domName Document.createElementNS; @docsEditable true
+ /// @docsEditable true
@JSName('createElementNS')
+ @DomName('Document.createElementNS')
Element $dom_createElementNS(String namespaceURI, String qualifiedName) native;
- /// @domName Document.createEvent; @docsEditable true
+ /// @docsEditable true
@JSName('createEvent')
+ @DomName('Document.createEvent')
Event $dom_createEvent(String eventType) native;
- /// @domName Document.createRange; @docsEditable true
+ /// @docsEditable true
@JSName('createRange')
+ @DomName('Document.createRange')
Range $dom_createRange() native;
- /// @domName Document.createTextNode; @docsEditable true
+ /// @docsEditable true
@JSName('createTextNode')
+ @DomName('Document.createTextNode')
Text $dom_createTextNode(String data) native;
- /// @domName Document.createTouch; @docsEditable true
+ /// @docsEditable true
Touch $dom_createTouch(Window window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) {
var target_1 = _convertDartToNative_EventTarget(target);
return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce);
}
@JSName('createTouch')
+ @DomName('Document.createTouch')
Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) native;
/// Use the [TouchList] constructor isntead.
- /// @domName Document.createTouchList; @docsEditable true
+ /// @docsEditable true
@JSName('createTouchList')
+ @DomName('Document.createTouchList')
TouchList $dom_createTouchList() native;
/// Moved to [HtmlDocument].
- /// @domName Document.elementFromPoint; @docsEditable true
+ /// @docsEditable true
@JSName('elementFromPoint')
+ @DomName('Document.elementFromPoint')
Element $dom_elementFromPoint(int x, int y) native;
- /// @domName Document.execCommand; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.execCommand')
bool execCommand(String command, bool userInterface, String value) native;
- /// @domName Document.getCSSCanvasContext; @docsEditable true
+ /// @docsEditable true
@JSName('getCSSCanvasContext')
+ @DomName('Document.getCSSCanvasContext')
CanvasRenderingContext $dom_getCssCanvasContext(String contextId, String name, int width, int height) native;
/// Deprecated: use query("#$elementId") instead.
- /// @domName Document.getElementById; @docsEditable true
+ /// @docsEditable true
@JSName('getElementById')
+ @DomName('Document.getElementById')
Element $dom_getElementById(String elementId) native;
- /// @domName Document.getElementsByClassName; @docsEditable true
+ /// @docsEditable true
@JSName('getElementsByClassName')
+ @DomName('Document.getElementsByClassName')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_getElementsByClassName(String tagname) native;
- /// @domName Document.getElementsByName; @docsEditable true
+ /// @docsEditable true
@JSName('getElementsByName')
+ @DomName('Document.getElementsByName')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_getElementsByName(String elementName) native;
- /// @domName Document.getElementsByTagName; @docsEditable true
+ /// @docsEditable true
@JSName('getElementsByTagName')
+ @DomName('Document.getElementsByTagName')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_getElementsByTagName(String tagname) native;
- /// @domName Document.queryCommandEnabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.queryCommandEnabled')
bool queryCommandEnabled(String command) native;
- /// @domName Document.queryCommandIndeterm; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.queryCommandIndeterm')
bool queryCommandIndeterm(String command) native;
- /// @domName Document.queryCommandState; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.queryCommandState')
bool queryCommandState(String command) native;
- /// @domName Document.queryCommandSupported; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.queryCommandSupported')
bool queryCommandSupported(String command) native;
- /// @domName Document.queryCommandValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('Document.queryCommandValue')
String queryCommandValue(String command) native;
/// Deprecated: renamed to the shorter name [query].
- /// @domName Document.querySelector; @docsEditable true
+ /// @docsEditable true
@JSName('querySelector')
+ @DomName('Document.querySelector')
Element $dom_querySelector(String selectors) native;
/// Deprecated: use query("#$elementId") instead.
- /// @domName Document.querySelectorAll; @docsEditable true
+ /// @docsEditable true
@JSName('querySelectorAll')
+ @DomName('Document.querySelectorAll')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_querySelectorAll(String selectors) native;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitCancelFullScreen; @docsEditable true
+ /// @docsEditable true
@JSName('webkitCancelFullScreen')
+ @DomName('Document.webkitCancelFullScreen')
void $dom_webkitCancelFullScreen() native;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitExitFullscreen; @docsEditable true
+ /// @docsEditable true
@JSName('webkitExitFullscreen')
+ @DomName('Document.webkitExitFullscreen')
void $dom_webkitExitFullscreen() native;
/// Moved to [HtmlDocument].
- /// @domName Document.webkitExitPointerLock; @docsEditable true
+ /// @docsEditable true
@JSName('webkitExitPointerLock')
+ @DomName('Document.webkitExitPointerLock')
void $dom_webkitExitPointerLock() native;
Stream<Event> get onAbort => abortEvent.forTarget(this);
@@ -6353,7 +6741,7 @@ class _FrozenCssClassSet extends CssClassSet {
bool get frozen => true;
}
-/// @domName DocumentFragment
+@DomName('DocumentFragment')
class DocumentFragment extends Node native "*DocumentFragment" {
factory DocumentFragment() => _DocumentFragmentFactoryProvider.createDocumentFragment();
@@ -6601,16 +6989,19 @@ class DocumentFragment extends Node native "*DocumentFragment" {
}
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
ElementEvents get on =>
new ElementEvents(this);
- /// @domName DocumentFragment.querySelector; @docsEditable true
+ /// @docsEditable true
@JSName('querySelector')
+ @DomName('DocumentFragment.querySelector')
Element $dom_querySelector(String selectors) native;
- /// @domName DocumentFragment.querySelectorAll; @docsEditable true
+ /// @docsEditable true
@JSName('querySelectorAll')
+ @DomName('DocumentFragment.querySelectorAll')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_querySelectorAll(String selectors) native;
@@ -6620,28 +7011,36 @@ class DocumentFragment extends Node native "*DocumentFragment" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DocumentType; @docsEditable true
+/// @docsEditable true
+@DomName('DocumentType')
class DocumentType extends Node native "*DocumentType" {
- /// @domName DocumentType.entities; @docsEditable true
+ /// @docsEditable true
+ @DomName('DocumentType.entities')
final NamedNodeMap entities;
- /// @domName DocumentType.internalSubset; @docsEditable true
+ /// @docsEditable true
+ @DomName('DocumentType.internalSubset')
final String internalSubset;
- /// @domName DocumentType.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('DocumentType.name')
final String name;
- /// @domName DocumentType.notations; @docsEditable true
+ /// @docsEditable true
+ @DomName('DocumentType.notations')
final NamedNodeMap notations;
- /// @domName DocumentType.publicId; @docsEditable true
+ /// @docsEditable true
+ @DomName('DocumentType.publicId')
final String publicId;
- /// @domName DocumentType.systemId; @docsEditable true
+ /// @docsEditable true
+ @DomName('DocumentType.systemId')
final String systemId;
- /// @domName DocumentType.remove; @docsEditable true
+ /// @docsEditable true
+ @DomName('DocumentType.remove')
void remove() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6649,10 +7048,12 @@ class DocumentType extends Node native "*DocumentType" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMError; @docsEditable true
+/// @docsEditable true
+@DomName('DOMError')
class DomError native "*DOMError" {
- /// @domName DOMError.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMError.name')
final String name;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6660,7 +7061,8 @@ class DomError native "*DOMError" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMException; @docsEditable true
+/// @docsEditable true
+@DomName('DOMException')
class DomException native "*DOMException" {
static const int ABORT_ERR = 20;
@@ -6713,16 +7115,20 @@ class DomException native "*DOMException" {
static const int WRONG_DOCUMENT_ERR = 4;
- /// @domName DOMException.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMCoreException.code')
final int code;
- /// @domName DOMException.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMCoreException.message')
final String message;
- /// @domName DOMException.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMCoreException.name')
final String name;
- /// @domName DOMException.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMCoreException.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6730,24 +7136,30 @@ class DomException native "*DOMException" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMImplementation; @docsEditable true
+/// @docsEditable true
+@DomName('DOMImplementation')
class DomImplementation native "*DOMImplementation" {
- /// @domName DOMImplementation.createCSSStyleSheet; @docsEditable true
+ /// @docsEditable true
@JSName('createCSSStyleSheet')
+ @DomName('DOMImplementation.createCSSStyleSheet')
CssStyleSheet createCssStyleSheet(String title, String media) native;
- /// @domName DOMImplementation.createDocument; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMImplementation.createDocument')
Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) native;
- /// @domName DOMImplementation.createDocumentType; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMImplementation.createDocumentType')
DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native;
- /// @domName DOMImplementation.createHTMLDocument; @docsEditable true
+ /// @docsEditable true
@JSName('createHTMLDocument')
+ @DomName('DOMImplementation.createHTMLDocument')
HtmlDocument createHtmlDocument(String title) native;
- /// @domName DOMImplementation.hasFeature; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMImplementation.hasFeature')
bool hasFeature(String feature, String version) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6755,19 +7167,24 @@ class DomImplementation native "*DOMImplementation" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MimeType; @docsEditable true
+/// @docsEditable true
+@DomName('MimeType')
class DomMimeType native "*MimeType" {
- /// @domName MimeType.description; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMMimeType.description')
final String description;
- /// @domName MimeType.enabledPlugin; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMMimeType.enabledPlugin')
final DomPlugin enabledPlugin;
- /// @domName MimeType.suffixes; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMMimeType.suffixes')
final String suffixes;
- /// @domName MimeType.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMMimeType.type')
final String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6775,10 +7192,12 @@ class DomMimeType native "*MimeType" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MimeTypeArray; @docsEditable true
+/// @docsEditable true
+@DomName('MimeTypeArray')
class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType> native "*MimeTypeArray" {
- /// @domName MimeTypeArray.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMMimeTypeArray.length')
int get length => JS("int", "#.length", this);
DomMimeType operator[](int index) => JS("DomMimeType", "#[#]", this, index);
@@ -6926,10 +7345,12 @@ class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
// -- end List<DomMimeType> mixins.
- /// @domName MimeTypeArray.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMMimeTypeArray.item')
DomMimeType item(int index) native;
- /// @domName MimeTypeArray.namedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMMimeTypeArray.namedItem')
DomMimeType namedItem(String name) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6937,14 +7358,16 @@ class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMParser; @docsEditable true
+/// @docsEditable true
+@DomName('DOMParser')
class DomParser native "*DOMParser" {
- ///@docsEditable true
+ /// @docsEditable true
factory DomParser() => DomParser._create();
static DomParser _create() => JS('DomParser', 'new DOMParser()');
- /// @domName DOMParser.parseFromString; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMParser.parseFromString')
Document parseFromString(String str, String contentType) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6952,25 +7375,32 @@ class DomParser native "*DOMParser" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Plugin; @docsEditable true
+/// @docsEditable true
+@DomName('Plugin')
class DomPlugin native "*Plugin" {
- /// @domName Plugin.description; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPlugin.description')
final String description;
- /// @domName Plugin.filename; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPlugin.filename')
final String filename;
- /// @domName Plugin.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPlugin.length')
final int length;
- /// @domName Plugin.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPlugin.name')
final String name;
- /// @domName Plugin.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPlugin.item')
DomMimeType item(int index) native;
- /// @domName Plugin.namedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPlugin.namedItem')
DomMimeType namedItem(String name) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6978,10 +7408,12 @@ class DomPlugin native "*Plugin" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName PluginArray; @docsEditable true
+/// @docsEditable true
+@DomName('PluginArray')
class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> native "*PluginArray" {
- /// @domName PluginArray.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPluginArray.length')
int get length => JS("int", "#.length", this);
DomPlugin operator[](int index) => JS("DomPlugin", "#[#]", this, index);
@@ -7129,13 +7561,16 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
// -- end List<DomPlugin> mixins.
- /// @domName PluginArray.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPluginArray.item')
DomPlugin item(int index) native;
- /// @domName PluginArray.namedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPluginArray.namedItem')
DomPlugin namedItem(String name) native;
- /// @domName PluginArray.refresh; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMPluginArray.refresh')
void refresh(bool reload) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -7143,85 +7578,112 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
// BSD-style license that can be found in the LICENSE file.
-/// @domName Selection; @docsEditable true
+/// @docsEditable true
+@DomName('Selection')
class DomSelection native "*Selection" {
- /// @domName Selection.anchorNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.anchorNode')
final Node anchorNode;
- /// @domName Selection.anchorOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.anchorOffset')
final int anchorOffset;
- /// @domName Selection.baseNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.baseNode')
final Node baseNode;
- /// @domName Selection.baseOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.baseOffset')
final int baseOffset;
- /// @domName Selection.extentNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.extentNode')
final Node extentNode;
- /// @domName Selection.extentOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.extentOffset')
final int extentOffset;
- /// @domName Selection.focusNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.focusNode')
final Node focusNode;
- /// @domName Selection.focusOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.focusOffset')
final int focusOffset;
- /// @domName Selection.isCollapsed; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.isCollapsed')
final bool isCollapsed;
- /// @domName Selection.rangeCount; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.rangeCount')
final int rangeCount;
- /// @domName Selection.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.type')
final String type;
- /// @domName Selection.addRange; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.addRange')
void addRange(Range range) native;
- /// @domName Selection.collapse; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.collapse')
void collapse(Node node, int index) native;
- /// @domName Selection.collapseToEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.collapseToEnd')
void collapseToEnd() native;
- /// @domName Selection.collapseToStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.collapseToStart')
void collapseToStart() native;
- /// @domName Selection.containsNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.containsNode')
bool containsNode(Node node, bool allowPartial) native;
- /// @domName Selection.deleteFromDocument; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.deleteFromDocument')
void deleteFromDocument() native;
- /// @domName Selection.empty; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.empty')
void empty() native;
- /// @domName Selection.extend; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.extend')
void extend(Node node, int offset) native;
- /// @domName Selection.getRangeAt; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.getRangeAt')
Range getRangeAt(int index) native;
- /// @domName Selection.modify; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.modify')
void modify(String alter, String direction, String granularity) native;
- /// @domName Selection.removeAllRanges; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.removeAllRanges')
void removeAllRanges() native;
- /// @domName Selection.selectAllChildren; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.selectAllChildren')
void selectAllChildren(Node node) native;
- /// @domName Selection.setBaseAndExtent; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.setBaseAndExtent')
void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int extentOffset) native;
- /// @domName Selection.setPosition; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.setPosition')
void setPosition(Node node, int offset) native;
- /// @domName Selection.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSelection.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -7229,10 +7691,12 @@ class DomSelection native "*Selection" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMSettableTokenList; @docsEditable true
+/// @docsEditable true
+@DomName('DOMSettableTokenList')
class DomSettableTokenList extends DomTokenList native "*DOMSettableTokenList" {
- /// @domName DOMSettableTokenList.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMSettableTokenList.value')
String value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -7240,10 +7704,12 @@ class DomSettableTokenList extends DomTokenList native "*DOMSettableTokenList" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMStringList; @docsEditable true
+/// @docsEditable true
+@DomName('DOMStringList')
class DomStringList implements JavaScriptIndexingBehavior, List<String> native "*DOMStringList" {
- /// @domName DOMStringList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMStringList.length')
int get length => JS("int", "#.length", this);
String operator[](int index) => JS("String", "#[#]", this, index);
@@ -7391,10 +7857,12 @@ class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
// -- end List<String> mixins.
- /// @domName DOMStringList.contains; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMStringList.contains')
bool contains(String string) native;
- /// @domName DOMStringList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMStringList.item')
String item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -7402,7 +7870,8 @@ class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMStringMap
+/// @docsEditable true
+@DomName('DOMStringMap')
abstract class DomStringMap {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -7410,22 +7879,28 @@ abstract class DomStringMap {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMTokenList; @docsEditable true
+/// @docsEditable true
+@DomName('DOMTokenList')
class DomTokenList native "*DOMTokenList" {
- /// @domName DOMTokenList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMTokenList.length')
final int length;
- /// @domName DOMTokenList.contains; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMTokenList.contains')
bool contains(String token) native;
- /// @domName DOMTokenList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMTokenList.item')
String item(int index) native;
- /// @domName DOMTokenList.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMTokenList.toString')
String toString() native;
- /// @domName DOMTokenList.toggle; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMTokenList.toggle')
bool toggle(String token, [bool force]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -8357,225 +8832,288 @@ abstract class Element extends Node implements ElementTraversal native "*Element
static const EventStreamProvider<Event> fullscreenErrorEvent = const EventStreamProvider<Event>('webkitfullscreenerror');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
ElementEvents get on =>
new ElementEvents(this);
- /// @domName HTMLElement.children; @docsEditable true
+ /// @docsEditable true
@JSName('children')
+ @DomName('Element.children')
final HtmlCollection $dom_children;
- /// @domName HTMLElement.contentEditable; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.contentEditable')
String contentEditable;
- /// @domName HTMLElement.dir; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.dir')
String dir;
- /// @domName HTMLElement.draggable; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.draggable')
bool draggable;
- /// @domName HTMLElement.hidden; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.hidden')
bool hidden;
- /// @domName HTMLElement.id; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.id')
String id;
- /// @domName HTMLElement.innerHTML; @docsEditable true
+ /// @docsEditable true
@JSName('innerHTML')
+ @DomName('Element.innerHTML')
String innerHtml;
- /// @domName HTMLElement.isContentEditable; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.isContentEditable')
final bool isContentEditable;
- /// @domName HTMLElement.lang; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.lang')
String lang;
- /// @domName HTMLElement.outerHTML; @docsEditable true
+ /// @docsEditable true
@JSName('outerHTML')
+ @DomName('Element.outerHTML')
final String outerHtml;
- /// @domName HTMLElement.spellcheck; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.spellcheck')
bool spellcheck;
- /// @domName HTMLElement.tabIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.tabIndex')
int tabIndex;
- /// @domName HTMLElement.title; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.title')
String title;
- /// @domName HTMLElement.translate; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.translate')
bool translate;
- /// @domName HTMLElement.webkitdropzone; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.webkitdropzone')
String webkitdropzone;
- /// @domName HTMLElement.click; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.click')
void click() native;
static const int ALLOW_KEYBOARD_INPUT = 1;
- /// @domName Element.childElementCount; @docsEditable true
+ /// @docsEditable true
@JSName('childElementCount')
+ @DomName('Element.childElementCount')
final int $dom_childElementCount;
- /// @domName Element.className; @docsEditable true
+ /// @docsEditable true
@JSName('className')
+ @DomName('Element.className')
String $dom_className;
- /// @domName Element.clientHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.clientHeight')
final int clientHeight;
- /// @domName Element.clientLeft; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.clientLeft')
final int clientLeft;
- /// @domName Element.clientTop; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.clientTop')
final int clientTop;
- /// @domName Element.clientWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.clientWidth')
final int clientWidth;
- /// @domName Element.dataset; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.dataset')
final Map<String, String> dataset;
- /// @domName Element.firstElementChild; @docsEditable true
+ /// @docsEditable true
@JSName('firstElementChild')
+ @DomName('Element.firstElementChild')
final Element $dom_firstElementChild;
- /// @domName Element.lastElementChild; @docsEditable true
+ /// @docsEditable true
@JSName('lastElementChild')
+ @DomName('Element.lastElementChild')
final Element $dom_lastElementChild;
- /// @domName Element.nextElementSibling; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.nextElementSibling')
final Element nextElementSibling;
- /// @domName Element.offsetHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.offsetHeight')
final int offsetHeight;
- /// @domName Element.offsetLeft; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.offsetLeft')
final int offsetLeft;
- /// @domName Element.offsetParent; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.offsetParent')
final Element offsetParent;
- /// @domName Element.offsetTop; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.offsetTop')
final int offsetTop;
- /// @domName Element.offsetWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.offsetWidth')
final int offsetWidth;
- /// @domName Element.previousElementSibling; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.previousElementSibling')
final Element previousElementSibling;
- /// @domName Element.scrollHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.scrollHeight')
final int scrollHeight;
- /// @domName Element.scrollLeft; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.scrollLeft')
int scrollLeft;
- /// @domName Element.scrollTop; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.scrollTop')
int scrollTop;
- /// @domName Element.scrollWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.scrollWidth')
final int scrollWidth;
- /// @domName Element.style; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.style')
final CssStyleDeclaration style;
- /// @domName Element.tagName; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.tagName')
final String tagName;
- /// @domName Element.webkitPseudo; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.webkitPseudo')
String webkitPseudo;
- /// @domName Element.webkitShadowRoot; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.webkitShadowRoot')
final ShadowRoot webkitShadowRoot;
- /// @domName Element.blur; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.blur')
void blur() native;
- /// @domName Element.focus; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.focus')
void focus() native;
- /// @domName Element.getAttribute; @docsEditable true
+ /// @docsEditable true
@JSName('getAttribute')
+ @DomName('Element.getAttribute')
String $dom_getAttribute(String name) native;
- /// @domName Element.getAttributeNS; @docsEditable true
+ /// @docsEditable true
@JSName('getAttributeNS')
+ @DomName('Element.getAttributeNS')
String $dom_getAttributeNS(String namespaceURI, String localName) native;
- /// @domName Element.getBoundingClientRect; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.getBoundingClientRect')
ClientRect getBoundingClientRect() native;
- /// @domName Element.getClientRects; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.getClientRects')
@Returns('_ClientRectList') @Creates('_ClientRectList')
List<ClientRect> getClientRects() native;
- /// @domName Element.getElementsByClassName; @docsEditable true
+ /// @docsEditable true
@JSName('getElementsByClassName')
+ @DomName('Element.getElementsByClassName')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_getElementsByClassName(String name) native;
- /// @domName Element.getElementsByTagName; @docsEditable true
+ /// @docsEditable true
@JSName('getElementsByTagName')
+ @DomName('Element.getElementsByTagName')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_getElementsByTagName(String name) native;
- /// @domName Element.hasAttribute; @docsEditable true
+ /// @docsEditable true
@JSName('hasAttribute')
+ @DomName('Element.hasAttribute')
bool $dom_hasAttribute(String name) native;
- /// @domName Element.hasAttributeNS; @docsEditable true
+ /// @docsEditable true
@JSName('hasAttributeNS')
+ @DomName('Element.hasAttributeNS')
bool $dom_hasAttributeNS(String namespaceURI, String localName) native;
- /// @domName Element.querySelector; @docsEditable true
+ /// @docsEditable true
@JSName('querySelector')
+ @DomName('Element.querySelector')
Element $dom_querySelector(String selectors) native;
- /// @domName Element.querySelectorAll; @docsEditable true
+ /// @docsEditable true
@JSName('querySelectorAll')
+ @DomName('Element.querySelectorAll')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_querySelectorAll(String selectors) native;
- /// @domName Element.removeAttribute; @docsEditable true
+ /// @docsEditable true
@JSName('removeAttribute')
+ @DomName('Element.removeAttribute')
void $dom_removeAttribute(String name) native;
- /// @domName Element.removeAttributeNS; @docsEditable true
+ /// @docsEditable true
@JSName('removeAttributeNS')
+ @DomName('Element.removeAttributeNS')
void $dom_removeAttributeNS(String namespaceURI, String localName) native;
- /// @domName Element.scrollByLines; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.scrollByLines')
void scrollByLines(int lines) native;
- /// @domName Element.scrollByPages; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.scrollByPages')
void scrollByPages(int pages) native;
- /// @domName Element.scrollIntoViewIfNeeded; @docsEditable true
+ /// @docsEditable true
@JSName('scrollIntoViewIfNeeded')
+ @DomName('Element.scrollIntoViewIfNeeded')
void scrollIntoView([bool centerIfNeeded]) native;
- /// @domName Element.setAttribute; @docsEditable true
+ /// @docsEditable true
@JSName('setAttribute')
+ @DomName('Element.setAttribute')
void $dom_setAttribute(String name, String value) native;
- /// @domName Element.setAttributeNS; @docsEditable true
+ /// @docsEditable true
@JSName('setAttributeNS')
+ @DomName('Element.setAttributeNS')
void $dom_setAttributeNS(String namespaceURI, String qualifiedName, String value) native;
- /// @domName Element.webkitCreateShadowRoot; @docsEditable true
+ /// @docsEditable true
@JSName('webkitCreateShadowRoot')
- @SupportedBrowser(SupportedBrowser.CHROME, '25') @Experimental()
+ @DomName('Element.webkitCreateShadowRoot') @SupportedBrowser(SupportedBrowser.CHROME, '25') @Experimental()
ShadowRoot createShadowRoot() native;
- /// @domName Element.webkitRequestFullScreen; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.webkitRequestFullScreen')
void webkitRequestFullScreen(int flags) native;
- /// @domName Element.webkitRequestFullscreen; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.webkitRequestFullscreen')
void webkitRequestFullscreen() native;
- /// @domName Element.webkitRequestPointerLock; @docsEditable true
+ /// @docsEditable true
+ @DomName('Element.webkitRequestPointerLock')
void webkitRequestPointerLock() native;
Stream<Event> get onAbort => abortEvent.forTarget(this);
@@ -8690,7 +9228,7 @@ class _ElementFactoryProvider {
'track' : 'audio',
};
- /** @domName Document.createElement */
+ @DomName('Document.createElement')
static Element createElement_html(String html) {
// TODO(jacobr): this method can be made more robust and performant.
// 1) Cache the dummy parent elements required to use innerHTML rather than
@@ -8726,7 +9264,7 @@ class _ElementFactoryProvider {
return element;
}
- /** @domName Document.createElement */
+ @DomName('Document.createElement')
// Optimization to improve performance until the dart2js compiler inlines this
// method.
static dynamic createElement_tag(String tag) =>
@@ -8899,7 +9437,8 @@ class ElementEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ElementTraversal
+/// @docsEditable true
+@DomName('ElementTraversal')
abstract class ElementTraversal {
int $dom_childElementCount;
@@ -8917,34 +9456,41 @@ abstract class ElementTraversal {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLEmbedElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLEmbedElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.IE)
@SupportedBrowser(SupportedBrowser.SAFARI)
class EmbedElement extends Element native "*HTMLEmbedElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory EmbedElement() => document.$dom_createElement("embed");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('embed');
- /// @domName HTMLEmbedElement.align; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLEmbedElement.align')
String align;
- /// @domName HTMLEmbedElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLEmbedElement.height')
String height;
- /// @domName HTMLEmbedElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLEmbedElement.name')
String name;
- /// @domName HTMLEmbedElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLEmbedElement.src')
String src;
- /// @domName HTMLEmbedElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLEmbedElement.type')
String type;
- /// @domName HTMLEmbedElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLEmbedElement.width')
String width;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -8952,7 +9498,8 @@ class EmbedElement extends Element native "*HTMLEmbedElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName EntityReference; @docsEditable true
+/// @docsEditable true
+@DomName('EntityReference')
class EntityReference extends Node native "*EntityReference" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -8968,41 +9515,53 @@ typedef void EntriesCallback(List<Entry> entries);
// BSD-style license that can be found in the LICENSE file.
-/// @domName Entry; @docsEditable true
+/// @docsEditable true
+@DomName('Entry')
class Entry native "*Entry" {
- /// @domName Entry.filesystem; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.filesystem')
final FileSystem filesystem;
- /// @domName Entry.fullPath; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.fullPath')
final String fullPath;
- /// @domName Entry.isDirectory; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.isDirectory')
final bool isDirectory;
- /// @domName Entry.isFile; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.isFile')
final bool isFile;
- /// @domName Entry.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.name')
final String name;
- /// @domName Entry.copyTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.copyTo')
void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback, ErrorCallback errorCallback]) native;
- /// @domName Entry.getMetadata; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.getMetadata')
void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallback]) native;
- /// @domName Entry.getParent; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.getParent')
void getParent([EntryCallback successCallback, ErrorCallback errorCallback]) native;
- /// @domName Entry.moveTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.moveTo')
void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback, ErrorCallback errorCallback]) native;
- /// @domName Entry.remove; @docsEditable true
+ /// @docsEditable true
+ @DomName('Entry.remove')
void remove(VoidCallback successCallback, [ErrorCallback errorCallback]) native;
- /// @domName Entry.toURL; @docsEditable true
+ /// @docsEditable true
@JSName('toURL')
+ @DomName('Entry.toURL')
String toUrl() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9018,41 +9577,53 @@ typedef void EntryCallback(Entry entry);
// BSD-style license that can be found in the LICENSE file.
-/// @domName EntrySync; @docsEditable true
+/// @docsEditable true
+@DomName('EntrySync')
class EntrySync native "*EntrySync" {
- /// @domName EntrySync.filesystem; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.filesystem')
final FileSystemSync filesystem;
- /// @domName EntrySync.fullPath; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.fullPath')
final String fullPath;
- /// @domName EntrySync.isDirectory; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.isDirectory')
final bool isDirectory;
- /// @domName EntrySync.isFile; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.isFile')
final bool isFile;
- /// @domName EntrySync.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.name')
final String name;
- /// @domName EntrySync.copyTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.copyTo')
EntrySync copyTo(DirectoryEntrySync parent, String name) native;
- /// @domName EntrySync.getMetadata; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.getMetadata')
Metadata getMetadata() native;
- /// @domName EntrySync.getParent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.getParent')
EntrySync getParent() native;
- /// @domName EntrySync.moveTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.moveTo')
EntrySync moveTo(DirectoryEntrySync parent, String name) native;
- /// @domName EntrySync.remove; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntrySync.remove')
void remove() native;
- /// @domName EntrySync.toURL; @docsEditable true
+ /// @docsEditable true
@JSName('toURL')
+ @DomName('EntrySync.toURL')
String toUrl() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9068,16 +9639,20 @@ typedef void ErrorCallback(FileError error);
// BSD-style license that can be found in the LICENSE file.
-/// @domName ErrorEvent; @docsEditable true
+/// @docsEditable true
+@DomName('ErrorEvent')
class ErrorEvent extends Event native "*ErrorEvent" {
- /// @domName ErrorEvent.filename; @docsEditable true
+ /// @docsEditable true
+ @DomName('ErrorEvent.filename')
final String filename;
- /// @domName ErrorEvent.lineno; @docsEditable true
+ /// @docsEditable true
+ @DomName('ErrorEvent.lineno')
final int lineno;
- /// @domName ErrorEvent.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('ErrorEvent.message')
final String message;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9087,7 +9662,7 @@ class ErrorEvent extends Event native "*ErrorEvent" {
// WARNING: Do not edit - generated code.
-/// @domName Event
+@DomName('Event')
class Event native "*Event" {
// In JS, canBubble and cancelable are technically required parameters to
// init*Event. In practice, though, if they aren't provided they simply
@@ -9138,56 +9713,69 @@ class Event native "*Event" {
static const int SELECT = 16384;
- /// @domName Event.bubbles; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.bubbles')
final bool bubbles;
- /// @domName Event.cancelBubble; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.cancelBubble')
bool cancelBubble;
- /// @domName Event.cancelable; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.cancelable')
final bool cancelable;
- /// @domName Event.clipboardData; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.clipboardData')
final Clipboard clipboardData;
- /// @domName Event.currentTarget; @docsEditable true
+ /// @docsEditable true
EventTarget get currentTarget => _convertNativeToDart_EventTarget(this._currentTarget);
@JSName('currentTarget')
- @Creates('Null') @Returns('EventTarget|=Object')
+ @DomName('Event.currentTarget') @Creates('Null') @Returns('EventTarget|=Object')
final dynamic _currentTarget;
- /// @domName Event.defaultPrevented; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.defaultPrevented')
final bool defaultPrevented;
- /// @domName Event.eventPhase; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.eventPhase')
final int eventPhase;
- /// @domName Event.returnValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.returnValue')
bool returnValue;
- /// @domName Event.target; @docsEditable true
+ /// @docsEditable true
EventTarget get target => _convertNativeToDart_EventTarget(this._target);
@JSName('target')
- @Creates('Node') @Returns('EventTarget|=Object')
+ @DomName('Event.target') @Creates('Node') @Returns('EventTarget|=Object')
final dynamic _target;
- /// @domName Event.timeStamp; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.timeStamp')
final int timeStamp;
- /// @domName Event.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.type')
final String type;
- /// @domName Event.initEvent; @docsEditable true
+ /// @docsEditable true
@JSName('initEvent')
+ @DomName('Event.initEvent')
void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) native;
- /// @domName Event.preventDefault; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.preventDefault')
void preventDefault() native;
- /// @domName Event.stopImmediatePropagation; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.stopImmediatePropagation')
void stopImmediatePropagation() native;
- /// @domName Event.stopPropagation; @docsEditable true
+ /// @docsEditable true
+ @DomName('Event.stopPropagation')
void stopPropagation() native;
}
@@ -9196,23 +9784,28 @@ class Event native "*Event" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName EventException; @docsEditable true
+/// @docsEditable true
+@DomName('EventException')
class EventException native "*EventException" {
static const int DISPATCH_REQUEST_ERR = 1;
static const int UNSPECIFIED_EVENT_TYPE_ERR = 0;
- /// @domName EventException.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventException.code')
final int code;
- /// @domName EventException.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventException.message')
final String message;
- /// @domName EventException.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventException.name')
final String name;
- /// @domName EventException.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventException.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9220,7 +9813,8 @@ class EventException native "*EventException" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName EventSource; @docsEditable true
+/// @docsEditable true
+@DomName('EventSource')
class EventSource extends EventTarget native "*EventSource" {
static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error');
@@ -9229,11 +9823,12 @@ class EventSource extends EventTarget native "*EventSource" {
static const EventStreamProvider<Event> openEvent = const EventStreamProvider<Event>('open');
- ///@docsEditable true
+ /// @docsEditable true
factory EventSource(String scriptUrl) => EventSource._create(scriptUrl);
static EventSource _create(String scriptUrl) => JS('EventSource', 'new EventSource(#)', scriptUrl);
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
EventSourceEvents get on =>
new EventSourceEvents(this);
@@ -9243,25 +9838,31 @@ class EventSource extends EventTarget native "*EventSource" {
static const int OPEN = 1;
- /// @domName EventSource.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventSource.readyState')
final int readyState;
- /// @domName EventSource.url; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventSource.url')
final String url;
- /// @domName EventSource.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('EventSource.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName EventSource.close; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventSource.close')
void close() native;
- /// @domName EventSource.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('EventSource.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName EventSource.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('EventSource.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<Event> get onError => errorEvent.forTarget(this);
@@ -9351,7 +9952,7 @@ class EventListenerList {
}
}
-/// @domName EventTarget
+@DomName('EventTarget')
/**
* Base class for all browser objects that support events.
*
@@ -9362,19 +9963,22 @@ class EventListenerList {
*/
class EventTarget native "*EventTarget" {
- /** @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent */
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
Events get on => new Events(this);
- /// @domName EventTarget.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('EventTarget.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('EventTarget.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName EventTarget.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('EventTarget.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
}
@@ -9383,7 +9987,8 @@ class EventTarget native "*EventTarget" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName EXTTextureFilterAnisotropic; @docsEditable true
+/// @docsEditable true
+@DomName('EXTTextureFilterAnisotropic')
class ExtTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" {
static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
@@ -9395,40 +10000,51 @@ class ExtTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLFieldSetElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLFieldSetElement')
class FieldSetElement extends Element native "*HTMLFieldSetElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory FieldSetElement() => document.$dom_createElement("fieldset");
- /// @domName HTMLFieldSetElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.disabled')
bool disabled;
- /// @domName HTMLFieldSetElement.elements; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.elements')
final HtmlCollection elements;
- /// @domName HTMLFieldSetElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.form')
final FormElement form;
- /// @domName HTMLFieldSetElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.name')
String name;
- /// @domName HTMLFieldSetElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.type')
final String type;
- /// @domName HTMLFieldSetElement.validationMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.validationMessage')
final String validationMessage;
- /// @domName HTMLFieldSetElement.validity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.validity')
final ValidityState validity;
- /// @domName HTMLFieldSetElement.willValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.willValidate')
final bool willValidate;
- /// @domName HTMLFieldSetElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLFieldSetElement.setCustomValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFieldSetElement.setCustomValidity')
void setCustomValidity(String error) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9436,16 +10052,20 @@ class FieldSetElement extends Element native "*HTMLFieldSetElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName File; @docsEditable true
+/// @docsEditable true
+@DomName('File')
class File extends Blob native "*File" {
- /// @domName File.lastModifiedDate; @docsEditable true
+ /// @docsEditable true
+ @DomName('File.lastModifiedDate')
final Date lastModifiedDate;
- /// @domName File.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('File.name')
final String name;
- /// @domName File.webkitRelativePath; @docsEditable true
+ /// @docsEditable true
+ @DomName('File.webkitRelativePath')
final String webkitRelativePath;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9461,13 +10081,16 @@ typedef void FileCallback(File file);
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileEntry; @docsEditable true
+/// @docsEditable true
+@DomName('FileEntry')
class FileEntry extends Entry native "*FileEntry" {
- /// @domName FileEntry.createWriter; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileEntry.createWriter')
void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCallback]) native;
- /// @domName FileEntry.file; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileEntry.file')
void file(FileCallback successCallback, [ErrorCallback errorCallback]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9475,13 +10098,16 @@ class FileEntry extends Entry native "*FileEntry" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileEntrySync; @docsEditable true
+/// @docsEditable true
+@DomName('FileEntrySync')
class FileEntrySync extends EntrySync native "*FileEntrySync" {
- /// @domName FileEntrySync.createWriter; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileEntrySync.createWriter')
FileWriterSync createWriter() native;
- /// @domName FileEntrySync.file; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileEntrySync.file')
File file() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9489,7 +10115,8 @@ class FileEntrySync extends EntrySync native "*FileEntrySync" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileError; @docsEditable true
+/// @docsEditable true
+@DomName('FileError')
class FileError native "*FileError" {
static const int ABORT_ERR = 3;
@@ -9516,7 +10143,8 @@ class FileError native "*FileError" {
static const int TYPE_MISMATCH_ERR = 11;
- /// @domName FileError.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileError.code')
final int code;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9524,7 +10152,8 @@ class FileError native "*FileError" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileException; @docsEditable true
+/// @docsEditable true
+@DomName('FileException')
class FileException native "*FileException" {
static const int ABORT_ERR = 3;
@@ -9551,16 +10180,20 @@ class FileException native "*FileException" {
static const int TYPE_MISMATCH_ERR = 11;
- /// @domName FileException.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileException.code')
final int code;
- /// @domName FileException.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileException.message')
final String message;
- /// @domName FileException.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileException.name')
final String name;
- /// @domName FileException.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileException.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9568,10 +10201,12 @@ class FileException native "*FileException" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileList; @docsEditable true
+/// @docsEditable true
+@DomName('FileList')
class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileList" {
- /// @domName FileList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileList.length')
int get length => JS("int", "#.length", this);
File operator[](int index) => JS("File", "#[#]", this, index);
@@ -9719,7 +10354,8 @@ class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
// -- end List<File> mixins.
- /// @domName FileList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileList.item')
File item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9727,7 +10363,8 @@ class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileReader; @docsEditable true
+/// @docsEditable true
+@DomName('FileReader')
class FileReader extends EventTarget native "*FileReader" {
static const EventStreamProvider<ProgressEvent> abortEvent = const EventStreamProvider<ProgressEvent>('abort');
@@ -9742,11 +10379,12 @@ class FileReader extends EventTarget native "*FileReader" {
static const EventStreamProvider<ProgressEvent> progressEvent = const EventStreamProvider<ProgressEvent>('progress');
- ///@docsEditable true
+ /// @docsEditable true
factory FileReader() => FileReader._create();
static FileReader _create() => JS('FileReader', 'new FileReader()');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
FileReaderEvents get on =>
new FileReaderEvents(this);
@@ -9756,42 +10394,52 @@ class FileReader extends EventTarget native "*FileReader" {
static const int LOADING = 1;
- /// @domName FileReader.error; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReader.error')
final FileError error;
- /// @domName FileReader.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReader.readyState')
final int readyState;
- /// @domName FileReader.result; @docsEditable true
- @Creates('String|ArrayBuffer|Null')
+ /// @docsEditable true
+ @DomName('FileReader.result') @Creates('String|ArrayBuffer|Null')
final Object result;
- /// @domName FileReader.abort; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReader.abort')
void abort() native;
- /// @domName FileReader.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('FileReader.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName FileReader.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('FileReader.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName FileReader.readAsArrayBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReader.readAsArrayBuffer')
void readAsArrayBuffer(Blob blob) native;
- /// @domName FileReader.readAsBinaryString; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReader.readAsBinaryString')
void readAsBinaryString(Blob blob) native;
- /// @domName FileReader.readAsDataURL; @docsEditable true
+ /// @docsEditable true
@JSName('readAsDataURL')
+ @DomName('FileReader.readAsDataURL')
void readAsDataUrl(Blob blob) native;
- /// @domName FileReader.readAsText; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReader.readAsText')
void readAsText(Blob blob, [String encoding]) native;
- /// @domName FileReader.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('FileReader.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this);
@@ -9835,24 +10483,29 @@ class FileReaderEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileReaderSync; @docsEditable true
+/// @docsEditable true
+@DomName('FileReaderSync')
class FileReaderSync native "*FileReaderSync" {
- ///@docsEditable true
+ /// @docsEditable true
factory FileReaderSync() => FileReaderSync._create();
static FileReaderSync _create() => JS('FileReaderSync', 'new FileReaderSync()');
- /// @domName FileReaderSync.readAsArrayBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReaderSync.readAsArrayBuffer')
ArrayBuffer readAsArrayBuffer(Blob blob) native;
- /// @domName FileReaderSync.readAsBinaryString; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReaderSync.readAsBinaryString')
String readAsBinaryString(Blob blob) native;
- /// @domName FileReaderSync.readAsDataURL; @docsEditable true
+ /// @docsEditable true
@JSName('readAsDataURL')
+ @DomName('FileReaderSync.readAsDataURL')
String readAsDataUrl(Blob blob) native;
- /// @domName FileReaderSync.readAsText; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileReaderSync.readAsText')
String readAsText(Blob blob, [String encoding]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9860,13 +10513,16 @@ class FileReaderSync native "*FileReaderSync" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMFileSystem; @docsEditable true
+/// @docsEditable true
+@DomName('DOMFileSystem')
class FileSystem native "*DOMFileSystem" {
- /// @domName DOMFileSystem.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMFileSystem.name')
final String name;
- /// @domName DOMFileSystem.root; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMFileSystem.root')
final DirectoryEntry root;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9882,13 +10538,16 @@ typedef void FileSystemCallback(FileSystem fileSystem);
// BSD-style license that can be found in the LICENSE file.
-/// @domName DOMFileSystemSync; @docsEditable true
+/// @docsEditable true
+@DomName('DOMFileSystemSync')
class FileSystemSync native "*DOMFileSystemSync" {
- /// @domName DOMFileSystemSync.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMFileSystemSync.name')
final String name;
- /// @domName DOMFileSystemSync.root; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMFileSystemSync.root')
final DirectoryEntrySync root;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9896,7 +10555,8 @@ class FileSystemSync native "*DOMFileSystemSync" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileWriter; @docsEditable true
+/// @docsEditable true
+@DomName('FileWriter')
class FileWriter extends EventTarget native "*FileWriter" {
static const EventStreamProvider<ProgressEvent> abortEvent = const EventStreamProvider<ProgressEvent>('abort');
@@ -9911,7 +10571,8 @@ class FileWriter extends EventTarget native "*FileWriter" {
static const EventStreamProvider<ProgressEvent> writeStartEvent = const EventStreamProvider<ProgressEvent>('writestart');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
FileWriterEvents get on =>
new FileWriterEvents(this);
@@ -9921,40 +10582,51 @@ class FileWriter extends EventTarget native "*FileWriter" {
static const int WRITING = 1;
- /// @domName FileWriter.error; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriter.error')
final FileError error;
- /// @domName FileWriter.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriter.length')
final int length;
- /// @domName FileWriter.position; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriter.position')
final int position;
- /// @domName FileWriter.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriter.readyState')
final int readyState;
- /// @domName FileWriter.abort; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriter.abort')
void abort() native;
- /// @domName FileWriter.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('FileWriter.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName FileWriter.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('FileWriter.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName FileWriter.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('FileWriter.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName FileWriter.seek; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriter.seek')
void seek(int position) native;
- /// @domName FileWriter.truncate; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriter.truncate')
void truncate(int size) native;
- /// @domName FileWriter.write; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriter.write')
void write(Blob data) native;
Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this);
@@ -10006,22 +10678,28 @@ typedef void FileWriterCallback(FileWriter fileWriter);
// BSD-style license that can be found in the LICENSE file.
-/// @domName FileWriterSync; @docsEditable true
+/// @docsEditable true
+@DomName('FileWriterSync')
class FileWriterSync native "*FileWriterSync" {
- /// @domName FileWriterSync.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriterSync.length')
final int length;
- /// @domName FileWriterSync.position; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriterSync.position')
final int position;
- /// @domName FileWriterSync.seek; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriterSync.seek')
void seek(int position) native;
- /// @domName FileWriterSync.truncate; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriterSync.truncate')
void truncate(int size) native;
- /// @domName FileWriterSync.write; @docsEditable true
+ /// @docsEditable true
+ @DomName('FileWriterSync.write')
void write(Blob data) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10029,7 +10707,8 @@ class FileWriterSync native "*FileWriterSync" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Float32Array; @docsEditable true
+/// @docsEditable true
+@DomName('Float32Array')
class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<num> native "*Float32Array" {
factory Float32Array(int length) =>
@@ -10043,7 +10722,8 @@ class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
static const int BYTES_PER_ELEMENT = 4;
- /// @domName Float32Array.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('Float32Array.length')
int get length => JS("int", "#.length", this);
num operator[](int index) => JS("num", "#[#]", this, index);
@@ -10188,11 +10868,13 @@ class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
// -- end List<num> mixins.
- /// @domName Float32Array.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Float32Array.set')
void setElements(Object array, [int offset]) native;
- /// @domName Float32Array.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Float32Array.subarray')
Float32Array subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10200,7 +10882,8 @@ class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
// BSD-style license that can be found in the LICENSE file.
-/// @domName Float64Array; @docsEditable true
+/// @docsEditable true
+@DomName('Float64Array')
class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<num> native "*Float64Array" {
factory Float64Array(int length) =>
@@ -10214,7 +10897,8 @@ class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
static const int BYTES_PER_ELEMENT = 8;
- /// @domName Float64Array.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('Float64Array.length')
int get length => JS("int", "#.length", this);
num operator[](int index) => JS("num", "#[#]", this, index);
@@ -10359,11 +11043,13 @@ class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
// -- end List<num> mixins.
- /// @domName Float64Array.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Float64Array.set')
void setElements(Object array, [int offset]) native;
- /// @domName Float64Array.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Float64Array.subarray')
Float64Array subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10371,16 +11057,20 @@ class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLFontElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLFontElement')
class FontElement extends Element native "*HTMLFontElement" {
- /// @domName HTMLFontElement.color; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFontElement.color')
String color;
- /// @domName HTMLFontElement.face; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFontElement.face')
String face;
- /// @domName HTMLFontElement.size; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFontElement.size')
String size;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10388,10 +11078,11 @@ class FontElement extends Element native "*HTMLFontElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName FormData; @docsEditable true
+/// @docsEditable true
+@DomName('FormData')
class FormData native "*FormData" {
- ///@docsEditable true
+ /// @docsEditable true
factory FormData([FormElement form]) {
if (!?form) {
return FormData._create();
@@ -10405,7 +11096,8 @@ class FormData native "*FormData" {
return JS('FormData', 'new FormData(#)', form);
}
- /// @domName DOMFormData.append; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMFormData.append')
void append(String name, value, [String filename]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10413,49 +11105,63 @@ class FormData native "*FormData" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLFormElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLFormElement')
class FormElement extends Element native "*HTMLFormElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory FormElement() => document.$dom_createElement("form");
- /// @domName HTMLFormElement.acceptCharset; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.acceptCharset')
String acceptCharset;
- /// @domName HTMLFormElement.action; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.action')
String action;
- /// @domName HTMLFormElement.autocomplete; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.autocomplete')
String autocomplete;
- /// @domName HTMLFormElement.encoding; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.encoding')
String encoding;
- /// @domName HTMLFormElement.enctype; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.enctype')
String enctype;
- /// @domName HTMLFormElement.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.length')
final int length;
- /// @domName HTMLFormElement.method; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.method')
String method;
- /// @domName HTMLFormElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.name')
String name;
- /// @domName HTMLFormElement.noValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.noValidate')
bool noValidate;
- /// @domName HTMLFormElement.target; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.target')
String target;
- /// @domName HTMLFormElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLFormElement.reset; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.reset')
void reset() native;
- /// @domName HTMLFormElement.submit; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormElement.submit')
void submit() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10463,46 +11169,58 @@ class FormElement extends Element native "*HTMLFormElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLFrameElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLFrameElement')
class FrameElement extends Element native "*HTMLFrameElement" {
- /// @domName HTMLFrameElement.contentWindow; @docsEditable true
+ /// @docsEditable true
WindowBase get contentWindow => _convertNativeToDart_Window(this._contentWindow);
@JSName('contentWindow')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('HTMLFrameElement.contentWindow') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _contentWindow;
- /// @domName HTMLFrameElement.frameBorder; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.frameBorder')
String frameBorder;
- /// @domName HTMLFrameElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.height')
final int height;
- /// @domName HTMLFrameElement.location; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.location')
String location;
- /// @domName HTMLFrameElement.longDesc; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.longDesc')
String longDesc;
- /// @domName HTMLFrameElement.marginHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.marginHeight')
String marginHeight;
- /// @domName HTMLFrameElement.marginWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.marginWidth')
String marginWidth;
- /// @domName HTMLFrameElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.name')
String name;
- /// @domName HTMLFrameElement.noResize; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.noResize')
bool noResize;
- /// @domName HTMLFrameElement.scrolling; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.scrolling')
String scrolling;
- /// @domName HTMLFrameElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.src')
String src;
- /// @domName HTMLFrameElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameElement.width')
final int width;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10510,7 +11228,8 @@ class FrameElement extends Element native "*HTMLFrameElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLFrameSetElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLFrameSetElement')
class FrameSetElement extends Element native "*HTMLFrameSetElement" {
static const EventStreamProvider<Event> beforeUnloadEvent = const EventStreamProvider<Event>('beforeunload');
@@ -10539,14 +11258,17 @@ class FrameSetElement extends Element native "*HTMLFrameSetElement" {
static const EventStreamProvider<Event> unloadEvent = const EventStreamProvider<Event>('unload');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
FrameSetElementEvents get on =>
new FrameSetElementEvents(this);
- /// @domName HTMLFrameSetElement.cols; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameSetElement.cols')
String cols;
- /// @domName HTMLFrameSetElement.rows; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFrameSetElement.rows')
String rows;
Stream<Event> get onBeforeUnload => beforeUnloadEvent.forTarget(this);
@@ -10625,22 +11347,28 @@ class FrameSetElementEvents extends ElementEvents {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Gamepad; @docsEditable true
+/// @docsEditable true
+@DomName('Gamepad')
class Gamepad native "*Gamepad" {
- /// @domName Gamepad.axes; @docsEditable true
+ /// @docsEditable true
+ @DomName('Gamepad.axes')
final List<num> axes;
- /// @domName Gamepad.buttons; @docsEditable true
+ /// @docsEditable true
+ @DomName('Gamepad.buttons')
final List<num> buttons;
- /// @domName Gamepad.id; @docsEditable true
+ /// @docsEditable true
+ @DomName('Gamepad.id')
final String id;
- /// @domName Gamepad.index; @docsEditable true
+ /// @docsEditable true
+ @DomName('Gamepad.index')
final int index;
- /// @domName Gamepad.timestamp; @docsEditable true
+ /// @docsEditable true
+ @DomName('Gamepad.timestamp')
final int timestamp;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10648,16 +11376,20 @@ class Gamepad native "*Gamepad" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Geolocation; @docsEditable true
+/// @docsEditable true
+@DomName('Geolocation')
class Geolocation native "*Geolocation" {
- /// @domName Geolocation.clearWatch; @docsEditable true
+ /// @docsEditable true
+ @DomName('Geolocation.clearWatch')
void clearWatch(int watchId) native;
- /// @domName Geolocation.getCurrentPosition; @docsEditable true
+ /// @docsEditable true
+ @DomName('Geolocation.getCurrentPosition')
void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback, Object options]) native;
- /// @domName Geolocation.watchPosition; @docsEditable true
+ /// @docsEditable true
+ @DomName('Geolocation.watchPosition')
int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback, Object options]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10665,13 +11397,16 @@ class Geolocation native "*Geolocation" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Geoposition; @docsEditable true
+/// @docsEditable true
+@DomName('Geoposition')
class Geoposition native "*Geoposition" {
- /// @domName Geoposition.coords; @docsEditable true
+ /// @docsEditable true
+ @DomName('Geoposition.coords')
final Coordinates coords;
- /// @domName Geoposition.timestamp; @docsEditable true
+ /// @docsEditable true
+ @DomName('Geoposition.timestamp')
final int timestamp;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10679,10 +11414,11 @@ class Geoposition native "*Geoposition" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLHRElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLHRElement')
class HRElement extends Element native "*HTMLHRElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory HRElement() => document.$dom_createElement("hr");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10690,18 +11426,22 @@ class HRElement extends Element native "*HTMLHRElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HashChangeEvent; @docsEditable true
+/// @docsEditable true
+@DomName('HashChangeEvent')
class HashChangeEvent extends Event native "*HashChangeEvent" {
- /// @domName HashChangeEvent.newURL; @docsEditable true
+ /// @docsEditable true
@JSName('newURL')
+ @DomName('HashChangeEvent.newURL')
final String newUrl;
- /// @domName HashChangeEvent.oldURL; @docsEditable true
+ /// @docsEditable true
@JSName('oldURL')
+ @DomName('HashChangeEvent.oldURL')
final String oldUrl;
- /// @domName HashChangeEvent.initHashChangeEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('HashChangeEvent.initHashChangeEvent')
void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10709,10 +11449,11 @@ class HashChangeEvent extends Event native "*HashChangeEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLHeadElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLHeadElement')
class HeadElement extends Element native "*HTMLHeadElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory HeadElement() => document.$dom_createElement("head");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10720,25 +11461,26 @@ class HeadElement extends Element native "*HTMLHeadElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLHeadingElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLHeadingElement')
class HeadingElement extends Element native "*HTMLHeadingElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory HeadingElement.h1() => document.$dom_createElement("h1");
- ///@docsEditable true
+ /// @docsEditable true
factory HeadingElement.h2() => document.$dom_createElement("h2");
- ///@docsEditable true
+ /// @docsEditable true
factory HeadingElement.h3() => document.$dom_createElement("h3");
- ///@docsEditable true
+ /// @docsEditable true
factory HeadingElement.h4() => document.$dom_createElement("h4");
- ///@docsEditable true
+ /// @docsEditable true
factory HeadingElement.h5() => document.$dom_createElement("h5");
- ///@docsEditable true
+ /// @docsEditable true
factory HeadingElement.h6() => document.$dom_createElement("h6");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10746,7 +11488,8 @@ class HeadingElement extends Element native "*HTMLHeadingElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName History; @docsEditable true
+/// @docsEditable true
+@DomName('History')
class History implements HistoryBase native "*History" {
/**
@@ -10760,30 +11503,34 @@ class History implements HistoryBase native "*History" {
*/
static bool get supportsState => JS('bool', '!!window.history.pushState');
- /// @domName History.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('History.length')
final int length;
- /// @domName History.state; @docsEditable true
+ /// @docsEditable true
dynamic get state => _convertNativeToDart_SerializedScriptValue(this._state);
@JSName('state')
- @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue
+ @DomName('History.state') @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue
final dynamic _state;
- /// @domName History.back; @docsEditable true
+ /// @docsEditable true
+ @DomName('History.back')
void back() native;
- /// @domName History.forward; @docsEditable true
+ /// @docsEditable true
+ @DomName('History.forward')
void forward() native;
- /// @domName History.go; @docsEditable true
+ /// @docsEditable true
+ @DomName('History.go')
void go(int distance) native;
- /// @domName History.pushState; @docsEditable true
- @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI)
+ /// @docsEditable true
+ @DomName('History.pushState') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI)
void pushState(Object data, String title, [String url]) native;
- /// @domName History.replaceState; @docsEditable true
- @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI)
+ /// @docsEditable true
+ @DomName('History.replaceState') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI)
void replaceState(Object data, String title, [String url]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -10791,10 +11538,12 @@ class History implements HistoryBase native "*History" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLAllCollection; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLAllCollection')
class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLAllCollection" {
- /// @domName HTMLAllCollection.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAllCollection.length')
int get length => JS("int", "#.length", this);
Node operator[](int index) => JS("Node", "#[#]", this, index);
@@ -10942,13 +11691,16 @@ class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
// -- end List<Node> mixins.
- /// @domName HTMLAllCollection.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAllCollection.item')
Node item(int index) native;
- /// @domName HTMLAllCollection.namedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAllCollection.namedItem')
Node namedItem(String name) native;
- /// @domName HTMLAllCollection.tags; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLAllCollection.tags')
@Returns('NodeList') @Creates('NodeList')
List<Node> tags(String name) native;
}
@@ -10957,10 +11709,12 @@ class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLCollection; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLCollection')
class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLCollection" {
- /// @domName HTMLCollection.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLCollection.length')
int get length => JS("int", "#.length", this);
Node operator[](int index) => JS("Node", "#[#]", this, index);
@@ -11108,10 +11862,12 @@ class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
// -- end List<Node> mixins.
- /// @domName HTMLCollection.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLCollection.item')
Node item(int index) native;
- /// @domName HTMLCollection.namedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLCollection.namedItem')
Node namedItem(String name) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11121,26 +11877,27 @@ class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
// WARNING: Do not edit - generated code.
-/// @domName HTMLDocument
+@DomName('HTMLDocument')
class HtmlDocument extends Document native "*HTMLDocument" {
- /// @domName HTMLDocument.activeElement; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLDocument.activeElement')
final Element activeElement;
- /** @domName Document.body */
+ @DomName('Document.body')
BodyElement get body => document.$dom_body;
- /** @domName Document.body */
+ @DomName('Document.body')
void set body(BodyElement value) {
document.$dom_body = value;
}
- /** @domName Document.caretRangeFromPoint */
+ @DomName('Document.caretRangeFromPoint')
Range caretRangeFromPoint(int x, int y) {
return document.$dom_caretRangeFromPoint(x, y);
}
- /** @domName Document.elementFromPoint */
+ @DomName('Document.elementFromPoint')
Element elementFromPoint(int x, int y) {
return document.$dom_elementFromPoint(x, y);
}
@@ -11179,72 +11936,73 @@ class HtmlDocument extends Document native "*HTMLDocument" {
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
+ @DomName('Document.getCSSCanvasContext')
CanvasRenderingContext getCssCanvasContext(String contextId, String name,
int width, int height) {
return document.$dom_getCssCanvasContext(contextId, name, width, height);
}
- /** @domName Document.head */
+ @DomName('Document.head')
HeadElement get head => document.$dom_head;
- /** @domName Document.lastModified */
+ @DomName('Document.lastModified')
String get lastModified => document.$dom_lastModified;
- /** @domName Document.preferredStylesheetSet */
+ @DomName('Document.preferredStylesheetSet')
String get preferredStylesheetSet => document.$dom_preferredStylesheetSet;
- /** @domName Document.referrer */
+ @DomName('Document.referrer')
String get referrer => document.$dom_referrer;
- /** @domName Document.selectedStylesheetSet */
+ @DomName('Document.selectedStylesheetSet')
String get selectedStylesheetSet => document.$dom_selectedStylesheetSet;
void set selectedStylesheetSet(String value) {
document.$dom_selectedStylesheetSet = value;
}
- /** @domName Document.styleSheets */
+ @DomName('Document.styleSheets')
List<StyleSheet> get styleSheets => document.$dom_styleSheets;
- /** @domName Document.title */
+ @DomName('Document.title')
String get title => document.$dom_title;
- /** @domName Document.title */
+ @DomName('Document.title')
void set title(String value) {
document.$dom_title = value;
}
- /** @domName Document.webkitCancelFullScreen */
+ @DomName('Document.webkitCancelFullScreen')
void webkitCancelFullScreen() {
document.$dom_webkitCancelFullScreen();
}
- /** @domName Document.webkitExitFullscreen */
+ @DomName('Document.webkitExitFullscreen')
void webkitExitFullscreen() {
document.$dom_webkitExitFullscreen();
}
- /** @domName Document.webkitExitPointerLock */
+ @DomName('Document.webkitExitPointerLock')
void webkitExitPointerLock() {
document.$dom_webkitExitPointerLock();
}
- /** @domName Document.webkitFullscreenElement */
+ @DomName('Document.webkitFullscreenElement')
Element get webkitFullscreenElement => document.$dom_webkitFullscreenElement;
- /** @domName Document.webkitFullscreenEnabled */
+ @DomName('Document.webkitFullscreenEnabled')
bool get webkitFullscreenEnabled => document.$dom_webkitFullscreenEnabled;
- /** @domName Document.webkitHidden */
+ @DomName('Document.webkitHidden')
bool get webkitHidden => document.$dom_webkitHidden;
- /** @domName Document.webkitIsFullScreen */
+ @DomName('Document.webkitIsFullScreen')
bool get webkitIsFullScreen => document.$dom_webkitIsFullScreen;
- /** @domName Document.webkitPointerLockElement */
+ @DomName('Document.webkitPointerLockElement')
Element get webkitPointerLockElement =>
document.$dom_webkitPointerLockElement;
- /** @domName Document.webkitVisibilityState */
+ @DomName('Document.webkitVisibilityState')
String get webkitVisibilityState => document.$dom_webkitVisibilityState;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11252,10 +12010,11 @@ class HtmlDocument extends Document native "*HTMLDocument" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLHtmlElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLHtmlElement')
class HtmlElement extends Element native "*HTMLHtmlElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory HtmlElement() => document.$dom_createElement("html");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11263,10 +12022,12 @@ class HtmlElement extends Element native "*HTMLHtmlElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLFormControlsCollection; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLFormControlsCollection')
class HtmlFormControlsCollection extends HtmlCollection native "*HTMLFormControlsCollection" {
- /// @domName HTMLFormControlsCollection.namedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLFormControlsCollection.namedItem')
Node namedItem(String name) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11274,25 +12035,29 @@ class HtmlFormControlsCollection extends HtmlCollection native "*HTMLFormControl
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLOptionsCollection; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLOptionsCollection')
class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollection" {
// Shadowing definition.
- /// @domName HTMLOptionsCollection.length; @docsEditable true
+ /// @docsEditable true
int get length => JS("int", "#.length", this);
- /// @domName HTMLOptionsCollection.length; @docsEditable true
+ /// @docsEditable true
void set length(int value) {
JS("void", "#.length = #", this, value);
}
- /// @domName HTMLOptionsCollection.selectedIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionsCollection.selectedIndex')
int selectedIndex;
- /// @domName HTMLOptionsCollection.namedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionsCollection.namedItem')
Node namedItem(String name) native;
- /// @domName HTMLOptionsCollection.remove; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionsCollection.remove')
void remove(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11325,7 +12090,7 @@ class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollectio
* * [JS XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest)
* * [Using XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest)
*/
-/// @domName XMLHttpRequest
+@DomName('XMLHttpRequest')
class HttpRequest extends EventTarget native "*XMLHttpRequest" {
/**
* Creates a URL get request for the specified `url`.
@@ -11373,16 +12138,12 @@ class HttpRequest extends EventTarget native "*XMLHttpRequest" {
static const EventStreamProvider<ProgressEvent> readyStateChangeEvent = const EventStreamProvider<ProgressEvent>('readystatechange');
- ///@docsEditable true
+ /// @docsEditable true
factory HttpRequest() => HttpRequest._create();
static HttpRequest _create() => JS('HttpRequest', 'new XMLHttpRequest()');
- /**
- * Get the set of [HttpRequestEvents] that this request can respond to.
- * Usually used when adding an EventListener, such as in
- * `document.window.on.keyDown.add((e) => print('keydown happened'))`.
- */
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
HttpRequestEvents get on =>
new HttpRequestEvents(this);
@@ -11396,69 +12157,20 @@ class HttpRequest extends EventTarget native "*XMLHttpRequest" {
static const int UNSENT = 0;
- /**
- * Indicator of the current state of the request:
- *
- * <table>
- * <tr>
- * <td>Value</td>
- * <td>State</td>
- * <td>Meaning</td>
- * </tr>
- * <tr>
- * <td>0</td>
- * <td>unsent</td>
- * <td><code>open()</code> has not yet been called</td>
- * </tr>
- * <tr>
- * <td>1</td>
- * <td>opened</td>
- * <td><code>send()</code> has not yet been called</td>
- * </tr>
- * <tr>
- * <td>2</td>
- * <td>headers received</td>
- * <td><code>sent()</code> has been called; response headers and <code>status</code> are available</td>
- * </tr>
- * <tr>
- * <td>3</td> <td>loading</td> <td><code>responseText</code> holds some data</td>
- * </tr>
- * <tr>
- * <td>4</td> <td>done</td> <td>request is complete</td>
- * </tr>
- * </table>
- */
- /// @domName XMLHttpRequest.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.readyState')
final int readyState;
- /**
- * The data received as a reponse from the request.
- *
- * The data could be in the
- * form of a [String], [ArrayBuffer], [Document], [Blob], or json (also a
- * [String]). `null` indicates request failure.
- */
- /// @domName XMLHttpRequest.response; @docsEditable true
- @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num')
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.response') @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num')
final Object response;
- /**
- * The response in string form or null on failure.
- */
- /// @domName XMLHttpRequest.responseText; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.responseText')
final String responseText;
- /**
- * [String] telling the server the desired response format.
- *
- * Default is `String`.
- * Other options are one of 'arraybuffer', 'blob', 'document', 'json',
- * 'text'. Some newer browsers will throw `NS_ERROR_DOM_INVALID_ACCESS_ERR` if
- * `responseType` is set while performing a synchronous request.
- *
- * See also: [MDN responseType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType)
- */
- /// @domName XMLHttpRequest.responseType; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.responseType')
String responseType;
/**
@@ -11468,119 +12180,68 @@ class HttpRequest extends EventTarget native "*XMLHttpRequest" {
* `text/xml` stream, unless responseType = 'document' and the request is
* synchronous.
*/
- /// @domName XMLHttpRequest.responseXML; @docsEditable true
+ /// @docsEditable true
@JSName('responseXML')
+ @DomName('XMLHttpRequest.responseXML')
final Document responseXml;
- /**
- * The http result code from the request (200, 404, etc).
- * See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
- */
- /// @domName XMLHttpRequest.status; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.status')
final int status;
- /**
- * The request response string (such as "200 OK").
- * See also: [Http Status Codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
- */
- /// @domName XMLHttpRequest.statusText; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.statusText')
final String statusText;
- /**
- * [EventTarget] that can hold listeners to track the progress of the request.
- * The events fired will be members of [HttpRequestUploadEvents].
- */
- /// @domName XMLHttpRequest.upload; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.upload')
final HttpRequestUpload upload;
- /**
- * True if cross-site requests should use credentials such as cookies
- * or authorization headers; false otherwise.
- *
- * This value is ignored for same-site requests.
- */
- /// @domName XMLHttpRequest.withCredentials; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.withCredentials')
bool withCredentials;
- /**
- * Stop the current request.
- *
- * The request can only be stopped if readyState is `HEADERS_RECIEVED` or
- * `LOADING`. If this method is not in the process of being sent, the method
- * has no effect.
- */
- /// @domName XMLHttpRequest.abort; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.abort')
void abort() native;
- /// @domName XMLHttpRequest.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('XMLHttpRequest.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName XMLHttpRequest.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('XMLHttpRequest.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /**
- * Retrieve all the response headers from a request.
- *
- * `null` if no headers have been received. For multipart requests,
- * `getAllResponseHeaders` will return the response headers for the current
- * part of the request.
- *
- * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Responses)
- * for a list of common response headers.
- */
- /// @domName XMLHttpRequest.getAllResponseHeaders; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.getAllResponseHeaders')
String getAllResponseHeaders() native;
- /**
- * Return the response header named `header`, or `null` if not found.
- *
- * See also [HTTP response headers](http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Responses)
- * for a list of common response headers.
- */
- /// @domName XMLHttpRequest.getResponseHeader; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.getResponseHeader')
String getResponseHeader(String header) native;
- /**
- * Specify the desired `url`, and `method` to use in making the request.
- *
- * By default the request is done asyncronously, with no user or password
- * authentication information. If `async` is false, the request will be send
- * synchronously.
- *
- * Calling `open` again on a currently active request is equivalent to
- * calling `abort`.
- */
- /// @domName XMLHttpRequest.open; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.open')
void open(String method, String url, [bool async, String user, String password]) native;
- /**
- * Specify a particular MIME type (such as `text/xml`) desired for the
- * response.
- *
- * This value must be set before the request has been sent. See also the list
- * of [common MIME types](http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types)
- */
- /// @domName XMLHttpRequest.overrideMimeType; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.overrideMimeType')
void overrideMimeType(String override) native;
- /// @domName XMLHttpRequest.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('XMLHttpRequest.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /**
- * Send the request with any given `data`.
- *
- * See also:
- * [send() docs](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#send())
- * from MDN.
- */
- /// @domName XMLHttpRequest.send; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.send')
void send([data]) native;
- /** Sets HTTP `header` to `value`. */
- /// @domName XMLHttpRequest.setRequestHeader; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequest.setRequestHeader')
void setRequestHeader(String header, String value) native;
Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this);
@@ -11674,23 +12335,28 @@ class HttpRequestEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XMLHttpRequestException; @docsEditable true
+/// @docsEditable true
+@DomName('XMLHttpRequestException')
class HttpRequestException native "*XMLHttpRequestException" {
static const int ABORT_ERR = 102;
static const int NETWORK_ERR = 101;
- /// @domName XMLHttpRequestException.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequestException.code')
final int code;
- /// @domName XMLHttpRequestException.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequestException.message')
final String message;
- /// @domName XMLHttpRequestException.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequestException.name')
final String name;
- /// @domName XMLHttpRequestException.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequestException.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11698,13 +12364,16 @@ class HttpRequestException native "*XMLHttpRequestException" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XMLHttpRequestProgressEvent; @docsEditable true
+/// @docsEditable true
+@DomName('XMLHttpRequestProgressEvent')
class HttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestProgressEvent" {
- /// @domName XMLHttpRequestProgressEvent.position; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequestProgressEvent.position')
final int position;
- /// @domName XMLHttpRequestProgressEvent.totalSize; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLHttpRequestProgressEvent.totalSize')
final int totalSize;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11712,7 +12381,8 @@ class HttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestProg
// BSD-style license that can be found in the LICENSE file.
-/// @domName XMLHttpRequestUpload; @docsEditable true
+/// @docsEditable true
+@DomName('XMLHttpRequestUpload')
class HttpRequestUpload extends EventTarget native "*XMLHttpRequestUpload" {
static const EventStreamProvider<ProgressEvent> abortEvent = const EventStreamProvider<ProgressEvent>('abort');
@@ -11727,20 +12397,24 @@ class HttpRequestUpload extends EventTarget native "*XMLHttpRequestUpload" {
static const EventStreamProvider<ProgressEvent> progressEvent = const EventStreamProvider<ProgressEvent>('progress');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
HttpRequestUploadEvents get on =>
new HttpRequestUploadEvents(this);
- /// @domName XMLHttpRequestUpload.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('XMLHttpRequestUpload.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName XMLHttpRequestUpload.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('XMLHttpRequestUpload.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName XMLHttpRequestUpload.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('XMLHttpRequestUpload.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this);
@@ -11784,34 +12458,41 @@ class HttpRequestUploadEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLIFrameElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLIFrameElement')
class IFrameElement extends Element native "*HTMLIFrameElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory IFrameElement() => document.$dom_createElement("iframe");
- /// @domName HTMLIFrameElement.contentWindow; @docsEditable true
+ /// @docsEditable true
WindowBase get contentWindow => _convertNativeToDart_Window(this._contentWindow);
@JSName('contentWindow')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('HTMLIFrameElement.contentWindow') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _contentWindow;
- /// @domName HTMLIFrameElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLIFrameElement.height')
String height;
- /// @domName HTMLIFrameElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLIFrameElement.name')
String name;
- /// @domName HTMLIFrameElement.sandbox; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLIFrameElement.sandbox')
String sandbox;
- /// @domName HTMLIFrameElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLIFrameElement.src')
String src;
- /// @domName HTMLIFrameElement.srcdoc; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLIFrameElement.srcdoc')
String srcdoc;
- /// @domName HTMLIFrameElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLIFrameElement.width')
String width;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11819,16 +12500,20 @@ class IFrameElement extends Element native "*HTMLIFrameElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ImageData; @docsEditable true
+/// @docsEditable true
+@DomName('ImageData')
class ImageData native "*ImageData" {
- /// @domName ImageData.data; @docsEditable true
+ /// @docsEditable true
+ @DomName('ImageData.data')
final Uint8ClampedArray data;
- /// @domName ImageData.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('ImageData.height')
final int height;
- /// @domName ImageData.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('ImageData.width')
final int width;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11836,10 +12521,11 @@ class ImageData native "*ImageData" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLImageElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLImageElement')
class ImageElement extends Element native "*HTMLImageElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory ImageElement({String src, int width, int height}) {
var e = document.$dom_createElement("img");
if (src != null) e.src = src;
@@ -11848,46 +12534,60 @@ class ImageElement extends Element native "*HTMLImageElement" {
return e;
}
- /// @domName HTMLImageElement.alt; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.alt')
String alt;
- /// @domName HTMLImageElement.border; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.border')
String border;
- /// @domName HTMLImageElement.complete; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.complete')
final bool complete;
- /// @domName HTMLImageElement.crossOrigin; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.crossOrigin')
String crossOrigin;
- /// @domName HTMLImageElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.height')
int height;
- /// @domName HTMLImageElement.isMap; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.isMap')
bool isMap;
- /// @domName HTMLImageElement.lowsrc; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.lowsrc')
String lowsrc;
- /// @domName HTMLImageElement.naturalHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.naturalHeight')
final int naturalHeight;
- /// @domName HTMLImageElement.naturalWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.naturalWidth')
final int naturalWidth;
- /// @domName HTMLImageElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.src')
String src;
- /// @domName HTMLImageElement.useMap; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.useMap')
String useMap;
- /// @domName HTMLImageElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.width')
int width;
- /// @domName HTMLImageElement.x; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.x')
final int x;
- /// @domName HTMLImageElement.y; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLImageElement.y')
final int y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -11895,7 +12595,7 @@ class ImageElement extends Element native "*HTMLImageElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLInputElement
+@DomName('HTMLInputElement')
class InputElement extends Element implements
HiddenInputElement,
SearchInputElement,
@@ -11921,7 +12621,7 @@ class InputElement extends Element implements
ButtonInputElement
native "*HTMLInputElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory InputElement({String type}) {
var e = document.$dom_createElement("input");
if (type != null) {
@@ -11935,179 +12635,236 @@ class InputElement extends Element implements
static const EventStreamProvider<Event> speechChangeEvent = const EventStreamProvider<Event>('webkitSpeechChange');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
InputElementEvents get on =>
new InputElementEvents(this);
- /// @domName HTMLInputElement.accept; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.accept')
String accept;
- /// @domName HTMLInputElement.alt; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.alt')
String alt;
- /// @domName HTMLInputElement.autocomplete; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.autocomplete')
String autocomplete;
- /// @domName HTMLInputElement.autofocus; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.autofocus')
bool autofocus;
- /// @domName HTMLInputElement.checked; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.checked')
bool checked;
- /// @domName HTMLInputElement.defaultChecked; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.defaultChecked')
bool defaultChecked;
- /// @domName HTMLInputElement.defaultValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.defaultValue')
String defaultValue;
- /// @domName HTMLInputElement.dirName; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.dirName')
String dirName;
- /// @domName HTMLInputElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.disabled')
bool disabled;
- /// @domName HTMLInputElement.files; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.files')
@Returns('FileList') @Creates('FileList')
List<File> files;
- /// @domName HTMLInputElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.form')
final FormElement form;
- /// @domName HTMLInputElement.formAction; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.formAction')
String formAction;
- /// @domName HTMLInputElement.formEnctype; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.formEnctype')
String formEnctype;
- /// @domName HTMLInputElement.formMethod; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.formMethod')
String formMethod;
- /// @domName HTMLInputElement.formNoValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.formNoValidate')
bool formNoValidate;
- /// @domName HTMLInputElement.formTarget; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.formTarget')
String formTarget;
- /// @domName HTMLInputElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.height')
int height;
- /// @domName HTMLInputElement.incremental; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.incremental')
bool incremental;
- /// @domName HTMLInputElement.indeterminate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.indeterminate')
bool indeterminate;
- /// @domName HTMLInputElement.labels; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.labels')
@Returns('NodeList') @Creates('NodeList')
final List<Node> labels;
- /// @domName HTMLInputElement.list; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.list')
final Element list;
- /// @domName HTMLInputElement.max; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.max')
String max;
- /// @domName HTMLInputElement.maxLength; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.maxLength')
int maxLength;
- /// @domName HTMLInputElement.min; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.min')
String min;
- /// @domName HTMLInputElement.multiple; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.multiple')
bool multiple;
- /// @domName HTMLInputElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.name')
String name;
- /// @domName HTMLInputElement.pattern; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.pattern')
String pattern;
- /// @domName HTMLInputElement.placeholder; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.placeholder')
String placeholder;
- /// @domName HTMLInputElement.readOnly; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.required')
bool required;
- /// @domName HTMLInputElement.selectionDirection; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.selectionDirection')
String selectionDirection;
- /// @domName HTMLInputElement.selectionEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.selectionEnd')
int selectionEnd;
- /// @domName HTMLInputElement.selectionStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.selectionStart')
int selectionStart;
- /// @domName HTMLInputElement.size; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.size')
int size;
- /// @domName HTMLInputElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.src')
String src;
- /// @domName HTMLInputElement.step; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.step')
String step;
- /// @domName HTMLInputElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.type')
String type;
- /// @domName HTMLInputElement.useMap; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.useMap')
String useMap;
- /// @domName HTMLInputElement.validationMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.validationMessage')
final String validationMessage;
- /// @domName HTMLInputElement.validity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.validity')
final ValidityState validity;
- /// @domName HTMLInputElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.value')
String value;
- /// @domName HTMLInputElement.valueAsDate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.valueAsDate')
Date valueAsDate;
- /// @domName HTMLInputElement.valueAsNumber; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.valueAsNumber')
num valueAsNumber;
- /// @domName HTMLInputElement.webkitEntries; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.webkitEntries')
@Returns('_EntryArray') @Creates('_EntryArray')
final List<Entry> webkitEntries;
- /// @domName HTMLInputElement.webkitGrammar; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.webkitGrammar')
bool webkitGrammar;
- /// @domName HTMLInputElement.webkitSpeech; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.webkitSpeech')
bool webkitSpeech;
- /// @domName HTMLInputElement.webkitdirectory; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.webkitdirectory')
bool webkitdirectory;
- /// @domName HTMLInputElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.width')
int width;
- /// @domName HTMLInputElement.willValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.willValidate')
final bool willValidate;
- /// @domName HTMLInputElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLInputElement.select; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.select')
void select() native;
- /// @domName HTMLInputElement.setCustomValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.setCustomValidity')
void setCustomValidity(String error) native;
- /// @domName HTMLInputElement.setRangeText; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.setRangeText')
void setRangeText(String replacement, [int start, int end, String selectionMode]) native;
- /// @domName HTMLInputElement.setSelectionRange; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.setSelectionRange')
void setSelectionRange(int start, int end, [String direction]) native;
- /// @domName HTMLInputElement.stepDown; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.stepDown')
void stepDown([int n]) native;
- /// @domName HTMLInputElement.stepUp; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLInputElement.stepUp')
void stepUp([int n]) native;
Stream<Event> get onSpeechChange => speechChangeEvent.forTarget(this);
@@ -12123,40 +12880,40 @@ class InputElement extends Element implements
* Exposes the functionality common between all InputElement types.
*/
abstract class InputElementBase implements Element {
- /// @domName HTMLInputElement.autofocus
+ @DomName('HTMLInputElement.autofocus')
bool autofocus;
- /// @domName HTMLInputElement.disabled
+ @DomName('HTMLInputElement.disabled')
bool disabled;
- /// @domName HTMLInputElement.incremental
+ @DomName('HTMLInputElement.incremental')
bool incremental;
- /// @domName HTMLInputElement.indeterminate
+ @DomName('HTMLInputElement.indeterminate')
bool indeterminate;
- /// @domName HTMLInputElement.labels
+ @DomName('HTMLInputElement.labels')
List<Node> get labels;
- /// @domName HTMLInputElement.name
+ @DomName('HTMLInputElement.name')
String name;
- /// @domName HTMLInputElement.validationMessage
+ @DomName('HTMLInputElement.validationMessage')
String get validationMessage;
- /// @domName HTMLInputElement.validity
+ @DomName('HTMLInputElement.validity')
ValidityState get validity;
- /// @domName HTMLInputElement.value
+ @DomName('HTMLInputElement.value')
String value;
- /// @domName HTMLInputElement.willValidate
+ @DomName('HTMLInputElement.willValidate')
bool get willValidate;
- /// @domName HTMLInputElement.checkValidity
+ @DomName('HTMLInputElement.checkValidity')
bool checkValidity();
- /// @domName HTMLInputElement.setCustomValidity
+ @DomName('HTMLInputElement.setCustomValidity')
void setCustomValidity(String error);
}
@@ -12172,40 +12929,40 @@ abstract class HiddenInputElement implements Element {
* Base interface for all inputs which involve text editing.
*/
abstract class TextInputElementBase implements InputElementBase {
- /// @domName HTMLInputElement.autocomplete
+ @DomName('HTMLInputElement.autocomplete')
String autocomplete;
- /// @domName HTMLInputElement.maxLength
+ @DomName('HTMLInputElement.maxLength')
int maxLength;
- /// @domName HTMLInputElement.pattern
+ @DomName('HTMLInputElement.pattern')
String pattern;
- /// @domName HTMLInputElement.placeholder
+ @DomName('HTMLInputElement.placeholder')
String placeholder;
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
- /// @domName HTMLInputElement.size
+ @DomName('HTMLInputElement.size')
int size;
- /// @domName HTMLInputElement.select
+ @DomName('HTMLInputElement.select')
void select();
- /// @domName HTMLInputElement.selectionDirection
+ @DomName('HTMLInputElement.selectionDirection')
String selectionDirection;
- /// @domName HTMLInputElement.selectionEnd
+ @DomName('HTMLInputElement.selectionEnd')
int selectionEnd;
- /// @domName HTMLInputElement.selectionStart
+ @DomName('HTMLInputElement.selectionStart')
int selectionStart;
- /// @domName HTMLInputElement.setSelectionRange
+ @DomName('HTMLInputElement.setSelectionRange')
void setSelectionRange(int start, int end, [String direction]);
}
@@ -12222,10 +12979,10 @@ abstract class TextInputElementBase implements InputElementBase {
abstract class SearchInputElement implements TextInputElementBase {
factory SearchInputElement() => new InputElement(type: 'search');
- /// @domName HTMLInputElement.dirName;
+ @DomName('HTMLInputElement.dirName')
String dirName;
- /// @domName HTMLInputElement.list;
+ @DomName('HTMLInputElement.list')
Element get list;
/// Returns true if this input type is supported on the current platform.
@@ -12240,10 +12997,10 @@ abstract class SearchInputElement implements TextInputElementBase {
abstract class TextInputElement implements TextInputElementBase {
factory TextInputElement() => new InputElement(type: 'text');
- /// @domName HTMLInputElement.dirName;
+ @DomName('HTMLInputElement.dirName')
String dirName;
- /// @domName HTMLInputElement.list;
+ @DomName('HTMLInputElement.list')
Element get list;
}
@@ -12259,7 +13016,7 @@ abstract class TextInputElement implements TextInputElementBase {
abstract class UrlInputElement implements TextInputElementBase {
factory UrlInputElement() => new InputElement(type: 'url');
- /// @domName HTMLInputElement.list;
+ @DomName('HTMLInputElement.list')
Element get list;
/// Returns true if this input type is supported on the current platform.
@@ -12283,7 +13040,7 @@ abstract class UrlInputElement implements TextInputElementBase {
abstract class TelephoneInputElement implements TextInputElementBase {
factory TelephoneInputElement() => new InputElement(type: 'tel');
- /// @domName HTMLInputElement.list;
+ @DomName('HTMLInputElement.list')
Element get list;
/// Returns true if this input type is supported on the current platform.
@@ -12304,34 +13061,34 @@ abstract class TelephoneInputElement implements TextInputElementBase {
abstract class EmailInputElement implements TextInputElementBase {
factory EmailInputElement() => new InputElement(type: 'email');
- /// @domName HTMLInputElement.autocomplete
+ @DomName('HTMLInputElement.autocomplete')
String autocomplete;
- /// @domName HTMLInputElement.autofocus
+ @DomName('HTMLInputElement.autofocus')
bool autofocus;
- /// @domName HTMLInputElement.list;
+ @DomName('HTMLInputElement.list')
Element get list;
- /// @domName HTMLInputElement.maxLength
+ @DomName('HTMLInputElement.maxLength')
int maxLength;
- /// @domName HTMLInputElement.multiple;
+ @DomName('HTMLInputElement.multiple')
bool multiple;
- /// @domName HTMLInputElement.pattern
+ @DomName('HTMLInputElement.pattern')
String pattern;
- /// @domName HTMLInputElement.placeholder
+ @DomName('HTMLInputElement.placeholder')
String placeholder;
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
- /// @domName HTMLInputElement.size
+ @DomName('HTMLInputElement.size')
int size;
/// Returns true if this input type is supported on the current platform.
@@ -12352,25 +13109,25 @@ abstract class PasswordInputElement implements TextInputElementBase {
*/
abstract class RangeInputElementBase implements InputElementBase {
- /// @domName HTMLInputElement.list
+ @DomName('HTMLInputElement.list')
Element get list;
- /// @domName HTMLInputElement.max
+ @DomName('HTMLInputElement.max')
String max;
- /// @domName HTMLInputElement.min
+ @DomName('HTMLInputElement.min')
String min;
- /// @domName HTMLInputElement.step
+ @DomName('HTMLInputElement.step')
String step;
- /// @domName HTMLInputElement.valueAsNumber
+ @DomName('HTMLInputElement.valueAsNumber')
num valueAsNumber;
- /// @domName HTMLInputElement.stepDown
+ @DomName('HTMLInputElement.stepDown')
void stepDown([int n]);
- /// @domName HTMLInputElement.stepUp
+ @DomName('HTMLInputElement.stepUp')
void stepUp([int n]);
}
@@ -12385,13 +13142,13 @@ abstract class RangeInputElementBase implements InputElementBase {
abstract class DateTimeInputElement implements RangeInputElementBase {
factory DateTimeInputElement() => new InputElement(type: 'datetime');
- /// @domName HTMLInputElement.valueAsDate
+ @DomName('HTMLInputElement.valueAsDate')
Date valueAsDate;
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
/// Returns true if this input type is supported on the current platform.
@@ -12410,13 +13167,13 @@ abstract class DateTimeInputElement implements RangeInputElementBase {
abstract class DateInputElement implements RangeInputElementBase {
factory DateInputElement() => new InputElement(type: 'date');
- /// @domName HTMLInputElement.valueAsDate
+ @DomName('HTMLInputElement.valueAsDate')
Date valueAsDate;
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
/// Returns true if this input type is supported on the current platform.
@@ -12435,13 +13192,13 @@ abstract class DateInputElement implements RangeInputElementBase {
abstract class MonthInputElement implements RangeInputElementBase {
factory MonthInputElement() => new InputElement(type: 'month');
- /// @domName HTMLInputElement.valueAsDate
+ @DomName('HTMLInputElement.valueAsDate')
Date valueAsDate;
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
/// Returns true if this input type is supported on the current platform.
@@ -12460,13 +13217,13 @@ abstract class MonthInputElement implements RangeInputElementBase {
abstract class WeekInputElement implements RangeInputElementBase {
factory WeekInputElement() => new InputElement(type: 'week');
- /// @domName HTMLInputElement.valueAsDate
+ @DomName('HTMLInputElement.valueAsDate')
Date valueAsDate;
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
/// Returns true if this input type is supported on the current platform.
@@ -12485,13 +13242,13 @@ abstract class WeekInputElement implements RangeInputElementBase {
abstract class TimeInputElement implements RangeInputElementBase {
factory TimeInputElement() => new InputElement(type: 'time');
- /// @domName HTMLInputElement.valueAsDate
+ @DomName('HTMLInputElement.valueAsDate')
Date valueAsDate;
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
/// Returns true if this input type is supported on the current platform.
@@ -12512,10 +13269,10 @@ abstract class LocalDateTimeInputElement implements RangeInputElementBase {
factory LocalDateTimeInputElement() =>
new InputElement(type: 'datetime-local');
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
/// Returns true if this input type is supported on the current platform.
@@ -12534,13 +13291,13 @@ abstract class LocalDateTimeInputElement implements RangeInputElementBase {
abstract class NumberInputElement implements RangeInputElementBase {
factory NumberInputElement() => new InputElement(type: 'number');
- /// @domName HTMLInputElement.placeholder
+ @DomName('HTMLInputElement.placeholder')
String placeholder;
- /// @domName HTMLInputElement.readOnly
+ @DomName('HTMLInputElement.readOnly')
bool readOnly;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
/// Returns true if this input type is supported on the current platform.
@@ -12576,10 +13333,10 @@ abstract class RangeInputElement implements RangeInputElementBase {
abstract class CheckboxInputElement implements InputElementBase {
factory CheckboxInputElement() => new InputElement(type: 'checkbox');
- /// @domName HTMLInputElement.checked
+ @DomName('HTMLInputElement.checked')
bool checked;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
}
@@ -12598,10 +13355,10 @@ abstract class CheckboxInputElement implements InputElementBase {
abstract class RadioButtonInputElement implements InputElementBase {
factory RadioButtonInputElement() => new InputElement(type: 'radio');
- /// @domName HTMLInputElement.checked
+ @DomName('HTMLInputElement.checked')
bool checked;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
}
@@ -12611,16 +13368,16 @@ abstract class RadioButtonInputElement implements InputElementBase {
abstract class FileUploadInputElement implements InputElementBase {
factory FileUploadInputElement() => new InputElement(type: 'file');
- /// @domName HTMLInputElement.accept
+ @DomName('HTMLInputElement.accept')
String accept;
- /// @domName HTMLInputElement.multiple
+ @DomName('HTMLInputElement.multiple')
bool multiple;
- /// @domName HTMLInputElement.required
+ @DomName('HTMLInputElement.required')
bool required;
- /// @domName HTMLInputElement.files
+ @DomName('HTMLInputElement.files')
List<File> files;
}
@@ -12630,19 +13387,19 @@ abstract class FileUploadInputElement implements InputElementBase {
abstract class SubmitButtonInputElement implements InputElementBase {
factory SubmitButtonInputElement() => new InputElement(type: 'submit');
- /// @domName HTMLInputElement.formAction
+ @DomName('HTMLInputElement.formAction')
String formAction;
- /// @domName HTMLInputElement.formEnctype
+ @DomName('HTMLInputElement.formEnctype')
String formEnctype;
- /// @domName HTMLInputElement.formMethod
+ @DomName('HTMLInputElement.formMethod')
String formMethod;
- /// @domName HTMLInputElement.formNoValidate
+ @DomName('HTMLInputElement.formNoValidate')
bool formNoValidate;
- /// @domName HTMLInputElement.formTarget
+ @DomName('HTMLInputElement.formTarget')
String formTarget;
}
@@ -12653,31 +13410,31 @@ abstract class SubmitButtonInputElement implements InputElementBase {
abstract class ImageButtonInputElement implements InputElementBase {
factory ImageButtonInputElement() => new InputElement(type: 'image');
- /// @domName HTMLInputElement.alt
+ @DomName('HTMLInputElement.alt')
String alt;
- /// @domName HTMLInputElement.formAction
+ @DomName('HTMLInputElement.formAction')
String formAction;
- /// @domName HTMLInputElement.formEnctype
+ @DomName('HTMLInputElement.formEnctype')
String formEnctype;
- /// @domName HTMLInputElement.formMethod
+ @DomName('HTMLInputElement.formMethod')
String formMethod;
- /// @domName HTMLInputElement.formNoValidate
+ @DomName('HTMLInputElement.formNoValidate')
bool formNoValidate;
- /// @domName HTMLInputElement.formTarget
+ @DomName('HTMLInputElement.formTarget')
String formTarget;
- /// @domName HTMLInputElement.height
+ @DomName('HTMLInputElement.height')
int height;
- /// @domName HTMLInputElement.src
+ @DomName('HTMLInputElement.src')
String src;
- /// @domName HTMLInputElement.width
+ @DomName('HTMLInputElement.width')
int width;
}
@@ -12709,7 +13466,8 @@ class InputElementEvents extends ElementEvents {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Int16Array; @docsEditable true
+/// @docsEditable true
+@DomName('Int16Array')
class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Int16Array" {
factory Int16Array(int length) =>
@@ -12723,7 +13481,8 @@ class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
static const int BYTES_PER_ELEMENT = 2;
- /// @domName Int16Array.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('Int16Array.length')
int get length => JS("int", "#.length", this);
int operator[](int index) => JS("int", "#[#]", this, index);
@@ -12868,11 +13627,13 @@ class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// -- end List<int> mixins.
- /// @domName Int16Array.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Int16Array.set')
void setElements(Object array, [int offset]) native;
- /// @domName Int16Array.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Int16Array.subarray')
Int16Array subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -12880,7 +13641,8 @@ class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// BSD-style license that can be found in the LICENSE file.
-/// @domName Int32Array; @docsEditable true
+/// @docsEditable true
+@DomName('Int32Array')
class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Int32Array" {
factory Int32Array(int length) =>
@@ -12894,7 +13656,8 @@ class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
static const int BYTES_PER_ELEMENT = 4;
- /// @domName Int32Array.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('Int32Array.length')
int get length => JS("int", "#.length", this);
int operator[](int index) => JS("int", "#[#]", this, index);
@@ -13039,11 +13802,13 @@ class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// -- end List<int> mixins.
- /// @domName Int32Array.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Int32Array.set')
void setElements(Object array, [int offset]) native;
- /// @domName Int32Array.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Int32Array.subarray')
Int32Array subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13051,7 +13816,8 @@ class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// BSD-style license that can be found in the LICENSE file.
-/// @domName Int8Array; @docsEditable true
+/// @docsEditable true
+@DomName('Int8Array')
class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Int8Array" {
factory Int8Array(int length) =>
@@ -13065,7 +13831,8 @@ class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
static const int BYTES_PER_ELEMENT = 1;
- /// @domName Int8Array.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('Int8Array.length')
int get length => JS("int", "#.length", this);
int operator[](int index) => JS("int", "#[#]", this, index);
@@ -13210,11 +13977,13 @@ class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
// -- end List<int> mixins.
- /// @domName Int8Array.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Int8Array.set')
void setElements(Object array, [int offset]) native;
- /// @domName Int8Array.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Int8Array.subarray')
Int8Array subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13222,7 +13991,8 @@ class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
// BSD-style license that can be found in the LICENSE file.
-/// @domName JavaScriptCallFrame; @docsEditable true
+/// @docsEditable true
+@DomName('JavaScriptCallFrame')
class JavaScriptCallFrame native "*JavaScriptCallFrame" {
static const int CATCH_SCOPE = 4;
@@ -13235,37 +14005,48 @@ class JavaScriptCallFrame native "*JavaScriptCallFrame" {
static const int WITH_SCOPE = 2;
- /// @domName JavaScriptCallFrame.caller; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.caller')
final JavaScriptCallFrame caller;
- /// @domName JavaScriptCallFrame.column; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.column')
final int column;
- /// @domName JavaScriptCallFrame.functionName; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.functionName')
final String functionName;
- /// @domName JavaScriptCallFrame.line; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.line')
final int line;
- /// @domName JavaScriptCallFrame.scopeChain; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.scopeChain')
final List scopeChain;
- /// @domName JavaScriptCallFrame.sourceID; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.sourceID')
final int sourceID;
- /// @domName JavaScriptCallFrame.thisObject; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.thisObject')
final Object thisObject;
- /// @domName JavaScriptCallFrame.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.type')
final String type;
- /// @domName JavaScriptCallFrame.evaluate; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.evaluate')
void evaluate(String script) native;
- /// @domName JavaScriptCallFrame.restart; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.restart')
Object restart() native;
- /// @domName JavaScriptCallFrame.scopeType; @docsEditable true
+ /// @docsEditable true
+ @DomName('JavaScriptCallFrame.scopeType')
int scopeType(int scopeIndex) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13273,7 +14054,7 @@ class JavaScriptCallFrame native "*JavaScriptCallFrame" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName KeyboardEvent; @docsEditable true
+@DomName('KeyboardEvent')
class KeyboardEvent extends UIEvent native "*KeyboardEvent" {
factory KeyboardEvent(String type, Window view,
@@ -13287,7 +14068,7 @@ class KeyboardEvent extends UIEvent native "*KeyboardEvent" {
return e;
}
- /** @domName KeyboardEvent.initKeyboardEvent */
+ @DomName('KeyboardEvent.initKeyboardEvent')
void $dom_initKeyboardEvent(String type, bool canBubble, bool cancelable,
Window view, String keyIdentifier, int keyLocation, bool ctrlKey,
bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) {
@@ -13307,32 +14088,39 @@ class KeyboardEvent extends UIEvent native "*KeyboardEvent" {
}
}
- /** @domName KeyboardEvent.keyCode */
+ @DomName('KeyboardEvent.keyCode')
int get keyCode => $dom_keyCode;
- /** @domName KeyboardEvent.charCode */
+ @DomName('KeyboardEvent.charCode')
int get charCode => $dom_charCode;
- /// @domName KeyboardEvent.altGraphKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('KeyboardEvent.altGraphKey')
final bool altGraphKey;
- /// @domName KeyboardEvent.altKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('KeyboardEvent.altKey')
final bool altKey;
- /// @domName KeyboardEvent.ctrlKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('KeyboardEvent.ctrlKey')
final bool ctrlKey;
- /// @domName KeyboardEvent.keyIdentifier; @docsEditable true
+ /// @docsEditable true
@JSName('keyIdentifier')
+ @DomName('KeyboardEvent.keyIdentifier')
final String $dom_keyIdentifier;
- /// @domName KeyboardEvent.keyLocation; @docsEditable true
+ /// @docsEditable true
+ @DomName('KeyboardEvent.keyLocation')
final int keyLocation;
- /// @domName KeyboardEvent.metaKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('KeyboardEvent.metaKey')
final bool metaKey;
- /// @domName KeyboardEvent.shiftKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('KeyboardEvent.shiftKey')
final bool shiftKey;
}
@@ -13341,56 +14129,70 @@ class KeyboardEvent extends UIEvent native "*KeyboardEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLKeygenElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLKeygenElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
class KeygenElement extends Element native "*HTMLKeygenElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory KeygenElement() => document.$dom_createElement("keygen");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('keygen') && (new Element.tag('keygen') is KeygenElement);
- /// @domName HTMLKeygenElement.autofocus; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.autofocus')
bool autofocus;
- /// @domName HTMLKeygenElement.challenge; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.challenge')
String challenge;
- /// @domName HTMLKeygenElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.disabled')
bool disabled;
- /// @domName HTMLKeygenElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.form')
final FormElement form;
- /// @domName HTMLKeygenElement.keytype; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.keytype')
String keytype;
- /// @domName HTMLKeygenElement.labels; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.labels')
@Returns('NodeList') @Creates('NodeList')
final List<Node> labels;
- /// @domName HTMLKeygenElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.name')
String name;
- /// @domName HTMLKeygenElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.type')
final String type;
- /// @domName HTMLKeygenElement.validationMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.validationMessage')
final String validationMessage;
- /// @domName HTMLKeygenElement.validity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.validity')
final ValidityState validity;
- /// @domName HTMLKeygenElement.willValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.willValidate')
final bool willValidate;
- /// @domName HTMLKeygenElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLKeygenElement.setCustomValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLKeygenElement.setCustomValidity')
void setCustomValidity(String error) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13398,16 +14200,19 @@ class KeygenElement extends Element native "*HTMLKeygenElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLLIElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLLIElement')
class LIElement extends Element native "*HTMLLIElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory LIElement() => document.$dom_createElement("li");
- /// @domName HTMLLIElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLIElement.type')
String type;
- /// @domName HTMLLIElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLIElement.value')
int value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13415,19 +14220,23 @@ class LIElement extends Element native "*HTMLLIElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLLabelElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLLabelElement')
class LabelElement extends Element native "*HTMLLabelElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory LabelElement() => document.$dom_createElement("label");
- /// @domName HTMLLabelElement.control; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLabelElement.control')
final Element control;
- /// @domName HTMLLabelElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLabelElement.form')
final FormElement form;
- /// @domName HTMLLabelElement.htmlFor; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLabelElement.htmlFor')
String htmlFor;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13435,16 +14244,19 @@ class LabelElement extends Element native "*HTMLLabelElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLLegendElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLLegendElement')
class LegendElement extends Element native "*HTMLLegendElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory LegendElement() => document.$dom_createElement("legend");
- /// @domName HTMLLegendElement.align; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLegendElement.align')
String align;
- /// @domName HTMLLegendElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLegendElement.form')
final FormElement form;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13452,34 +14264,43 @@ class LegendElement extends Element native "*HTMLLegendElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLLinkElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLLinkElement')
class LinkElement extends Element native "*HTMLLinkElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory LinkElement() => document.$dom_createElement("link");
- /// @domName HTMLLinkElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLinkElement.disabled')
bool disabled;
- /// @domName HTMLLinkElement.href; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLinkElement.href')
String href;
- /// @domName HTMLLinkElement.hreflang; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLinkElement.hreflang')
String hreflang;
- /// @domName HTMLLinkElement.media; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLinkElement.media')
String media;
- /// @domName HTMLLinkElement.rel; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLinkElement.rel')
String rel;
- /// @domName HTMLLinkElement.sheet; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLinkElement.sheet')
final StyleSheet sheet;
- /// @domName HTMLLinkElement.sizes; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLinkElement.sizes')
DomSettableTokenList sizes;
- /// @domName HTMLLinkElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLLinkElement.type')
String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13487,10 +14308,12 @@ class LinkElement extends Element native "*HTMLLinkElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName LocalMediaStream; @docsEditable true
+/// @docsEditable true
+@DomName('LocalMediaStream')
class LocalMediaStream extends MediaStream implements EventTarget native "*LocalMediaStream" {
- /// @domName LocalMediaStream.stop; @docsEditable true
+ /// @docsEditable true
+ @DomName('LocalMediaStream.stop')
void stop() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13498,50 +14321,65 @@ class LocalMediaStream extends MediaStream implements EventTarget native "*Local
// BSD-style license that can be found in the LICENSE file.
-/// @domName Location; @docsEditable true
+/// @docsEditable true
+@DomName('Location')
class Location implements LocationBase native "*Location" {
- /// @domName Location.ancestorOrigins; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.ancestorOrigins')
@Returns('DomStringList') @Creates('DomStringList')
final List<String> ancestorOrigins;
- /// @domName Location.hash; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.hash')
String hash;
- /// @domName Location.host; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.host')
String host;
- /// @domName Location.hostname; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.hostname')
String hostname;
- /// @domName Location.href; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.href')
String href;
- /// @domName Location.origin; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.origin')
final String origin;
- /// @domName Location.pathname; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.pathname')
String pathname;
- /// @domName Location.port; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.port')
String port;
- /// @domName Location.protocol; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.protocol')
String protocol;
- /// @domName Location.search; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.search')
String search;
- /// @domName Location.assign; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.assign')
void assign(String url) native;
- /// @domName Location.reload; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.reload')
void reload() native;
- /// @domName Location.replace; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.replace')
void replace(String url) native;
- /// @domName Location.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('Location.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13549,16 +14387,19 @@ class Location implements LocationBase native "*Location" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLMapElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLMapElement')
class MapElement extends Element native "*HTMLMapElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory MapElement() => document.$dom_createElement("map");
- /// @domName HTMLMapElement.areas; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMapElement.areas')
final HtmlCollection areas;
- /// @domName HTMLMapElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMapElement.name')
String name;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13566,49 +14407,63 @@ class MapElement extends Element native "*HTMLMapElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLMarqueeElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLMarqueeElement')
class MarqueeElement extends Element native "*HTMLMarqueeElement" {
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('marquee')&& (new Element.tag('marquee') is MarqueeElement);
- /// @domName HTMLMarqueeElement.behavior; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.behavior')
String behavior;
- /// @domName HTMLMarqueeElement.bgColor; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.bgColor')
String bgColor;
- /// @domName HTMLMarqueeElement.direction; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.direction')
String direction;
- /// @domName HTMLMarqueeElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.height')
String height;
- /// @domName HTMLMarqueeElement.hspace; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.hspace')
int hspace;
- /// @domName HTMLMarqueeElement.loop; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.loop')
int loop;
- /// @domName HTMLMarqueeElement.scrollAmount; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.scrollAmount')
int scrollAmount;
- /// @domName HTMLMarqueeElement.scrollDelay; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.scrollDelay')
int scrollDelay;
- /// @domName HTMLMarqueeElement.trueSpeed; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.trueSpeed')
bool trueSpeed;
- /// @domName HTMLMarqueeElement.vspace; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.vspace')
int vspace;
- /// @domName HTMLMarqueeElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.width')
String width;
- /// @domName HTMLMarqueeElement.start; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.start')
void start() native;
- /// @domName HTMLMarqueeElement.stop; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMarqueeElement.stop')
void stop() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13616,65 +14471,83 @@ class MarqueeElement extends Element native "*HTMLMarqueeElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaController; @docsEditable true
+/// @docsEditable true
+@DomName('MediaController')
class MediaController extends EventTarget native "*MediaController" {
- ///@docsEditable true
+ /// @docsEditable true
factory MediaController() => MediaController._create();
static MediaController _create() => JS('MediaController', 'new MediaController()');
- /// @domName MediaController.buffered; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.buffered')
final TimeRanges buffered;
- /// @domName MediaController.currentTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.currentTime')
num currentTime;
- /// @domName MediaController.defaultPlaybackRate; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.defaultPlaybackRate')
num defaultPlaybackRate;
- /// @domName MediaController.duration; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.duration')
final num duration;
- /// @domName MediaController.muted; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.muted')
bool muted;
- /// @domName MediaController.paused; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.paused')
final bool paused;
- /// @domName MediaController.playbackRate; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.playbackRate')
num playbackRate;
- /// @domName MediaController.playbackState; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.playbackState')
final String playbackState;
- /// @domName MediaController.played; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.played')
final TimeRanges played;
- /// @domName MediaController.seekable; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.seekable')
final TimeRanges seekable;
- /// @domName MediaController.volume; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.volume')
num volume;
- /// @domName MediaController.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('MediaController.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MediaController.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('MediaController.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName MediaController.pause; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.pause')
void pause() native;
- /// @domName MediaController.play; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.play')
void play() native;
- /// @domName MediaController.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('MediaController.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MediaController.unpause; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaController.unpause')
void unpause() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -13682,7 +14555,8 @@ class MediaController extends EventTarget native "*MediaController" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLMediaElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLMediaElement')
class MediaElement extends Element native "*HTMLMediaElement" {
static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvider<Event>('canplay');
@@ -13735,7 +14609,8 @@ class MediaElement extends Element native "*HTMLMediaElement" {
static const EventStreamProvider<MediaKeyEvent> needKeyEvent = const EventStreamProvider<MediaKeyEvent>('webkitneedkey');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
MediaElementEvents get on =>
new MediaElementEvents(this);
@@ -13757,124 +14632,164 @@ class MediaElement extends Element native "*HTMLMediaElement" {
static const int NETWORK_NO_SOURCE = 3;
- /// @domName HTMLMediaElement.autoplay; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.autoplay')
bool autoplay;
- /// @domName HTMLMediaElement.buffered; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.buffered')
final TimeRanges buffered;
- /// @domName HTMLMediaElement.controller; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.controller')
MediaController controller;
- /// @domName HTMLMediaElement.controls; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.controls')
bool controls;
- /// @domName HTMLMediaElement.currentSrc; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.currentSrc')
final String currentSrc;
- /// @domName HTMLMediaElement.currentTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.currentTime')
num currentTime;
- /// @domName HTMLMediaElement.defaultMuted; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.defaultMuted')
bool defaultMuted;
- /// @domName HTMLMediaElement.defaultPlaybackRate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.defaultPlaybackRate')
num defaultPlaybackRate;
- /// @domName HTMLMediaElement.duration; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.duration')
final num duration;
- /// @domName HTMLMediaElement.ended; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.ended')
final bool ended;
- /// @domName HTMLMediaElement.error; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.error')
final MediaError error;
- /// @domName HTMLMediaElement.initialTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.initialTime')
final num initialTime;
- /// @domName HTMLMediaElement.loop; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.loop')
bool loop;
- /// @domName HTMLMediaElement.mediaGroup; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.mediaGroup')
String mediaGroup;
- /// @domName HTMLMediaElement.muted; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.muted')
bool muted;
- /// @domName HTMLMediaElement.networkState; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.networkState')
final int networkState;
- /// @domName HTMLMediaElement.paused; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.paused')
final bool paused;
- /// @domName HTMLMediaElement.playbackRate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.playbackRate')
num playbackRate;
- /// @domName HTMLMediaElement.played; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.played')
final TimeRanges played;
- /// @domName HTMLMediaElement.preload; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.preload')
String preload;
- /// @domName HTMLMediaElement.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.readyState')
final int readyState;
- /// @domName HTMLMediaElement.seekable; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.seekable')
final TimeRanges seekable;
- /// @domName HTMLMediaElement.seeking; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.seeking')
final bool seeking;
- /// @domName HTMLMediaElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.src')
String src;
- /// @domName HTMLMediaElement.startTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.startTime')
final num startTime;
- /// @domName HTMLMediaElement.textTracks; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.textTracks')
final TextTrackList textTracks;
- /// @domName HTMLMediaElement.volume; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.volume')
num volume;
- /// @domName HTMLMediaElement.webkitAudioDecodedByteCount; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.webkitAudioDecodedByteCount')
final int webkitAudioDecodedByteCount;
- /// @domName HTMLMediaElement.webkitClosedCaptionsVisible; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.webkitClosedCaptionsVisible')
bool webkitClosedCaptionsVisible;
- /// @domName HTMLMediaElement.webkitHasClosedCaptions; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.webkitHasClosedCaptions')
final bool webkitHasClosedCaptions;
- /// @domName HTMLMediaElement.webkitPreservesPitch; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.webkitPreservesPitch')
bool webkitPreservesPitch;
- /// @domName HTMLMediaElement.webkitVideoDecodedByteCount; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.webkitVideoDecodedByteCount')
final int webkitVideoDecodedByteCount;
- /// @domName HTMLMediaElement.addTextTrack; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.addTextTrack')
TextTrack addTextTrack(String kind, [String label, String language]) native;
- /// @domName HTMLMediaElement.canPlayType; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.canPlayType')
String canPlayType(String type, String keySystem) native;
- /// @domName HTMLMediaElement.load; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.load')
void load() native;
- /// @domName HTMLMediaElement.pause; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.pause')
void pause() native;
- /// @domName HTMLMediaElement.play; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.play')
void play() native;
- /// @domName HTMLMediaElement.webkitAddKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.webkitAddKey')
void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, String sessionId]) native;
- /// @domName HTMLMediaElement.webkitCancelKeyRequest; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.webkitCancelKeyRequest')
void webkitCancelKeyRequest(String keySystem, String sessionId) native;
- /// @domName HTMLMediaElement.webkitGenerateKeyRequest; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMediaElement.webkitGenerateKeyRequest')
void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]) native;
Stream<Event> get onCanPlay => canPlayEvent.forTarget(this);
@@ -14013,7 +14928,8 @@ class MediaElementEvents extends ElementEvents {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaError; @docsEditable true
+/// @docsEditable true
+@DomName('MediaError')
class MediaError native "*MediaError" {
static const int MEDIA_ERR_ABORTED = 1;
@@ -14026,7 +14942,8 @@ class MediaError native "*MediaError" {
static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
- /// @domName MediaError.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaError.code')
final int code;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14034,7 +14951,8 @@ class MediaError native "*MediaError" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaKeyError; @docsEditable true
+/// @docsEditable true
+@DomName('MediaKeyError')
class MediaKeyError native "*MediaKeyError" {
static const int MEDIA_KEYERR_CLIENT = 2;
@@ -14049,7 +14967,8 @@ class MediaKeyError native "*MediaKeyError" {
static const int MEDIA_KEYERR_UNKNOWN = 1;
- /// @domName MediaKeyError.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaKeyError.code')
final int code;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14057,29 +14976,37 @@ class MediaKeyError native "*MediaKeyError" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaKeyEvent; @docsEditable true
+/// @docsEditable true
+@DomName('MediaKeyEvent')
class MediaKeyEvent extends Event native "*MediaKeyEvent" {
- /// @domName MediaKeyEvent.defaultURL; @docsEditable true
+ /// @docsEditable true
@JSName('defaultURL')
+ @DomName('MediaKeyEvent.defaultURL')
final String defaultUrl;
- /// @domName MediaKeyEvent.errorCode; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaKeyEvent.errorCode')
final MediaKeyError errorCode;
- /// @domName MediaKeyEvent.initData; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaKeyEvent.initData')
final Uint8Array initData;
- /// @domName MediaKeyEvent.keySystem; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaKeyEvent.keySystem')
final String keySystem;
- /// @domName MediaKeyEvent.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaKeyEvent.message')
final Uint8Array message;
- /// @domName MediaKeyEvent.sessionId; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaKeyEvent.sessionId')
final String sessionId;
- /// @domName MediaKeyEvent.systemCode; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaKeyEvent.systemCode')
final int systemCode;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14087,22 +15014,28 @@ class MediaKeyEvent extends Event native "*MediaKeyEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaList; @docsEditable true
+/// @docsEditable true
+@DomName('MediaList')
class MediaList native "*MediaList" {
- /// @domName MediaList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaList.length')
final int length;
- /// @domName MediaList.mediaText; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaList.mediaText')
String mediaText;
- /// @domName MediaList.appendMedium; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaList.appendMedium')
void appendMedium(String newMedium) native;
- /// @domName MediaList.deleteMedium; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaList.deleteMedium')
void deleteMedium(String oldMedium) native;
- /// @domName MediaList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaList.item')
String item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14110,19 +15043,24 @@ class MediaList native "*MediaList" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaQueryList; @docsEditable true
+/// @docsEditable true
+@DomName('MediaQueryList')
class MediaQueryList native "*MediaQueryList" {
- /// @domName MediaQueryList.matches; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaQueryList.matches')
final bool matches;
- /// @domName MediaQueryList.media; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaQueryList.media')
final String media;
- /// @domName MediaQueryList.addListener; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaQueryList.addListener')
void addListener(MediaQueryListListener listener) native;
- /// @domName MediaQueryList.removeListener; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaQueryList.removeListener')
void removeListener(MediaQueryListListener listener) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14130,10 +15068,11 @@ class MediaQueryList native "*MediaQueryList" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaQueryListListener
+/// @docsEditable true
+@DomName('MediaQueryListListener')
abstract class MediaQueryListListener {
- /// @domName MediaQueryListListener.queryChanged; @docsEditable true
+ /// @docsEditable true
void queryChanged(MediaQueryList list);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14141,44 +15080,55 @@ abstract class MediaQueryListListener {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaSource; @docsEditable true
+/// @docsEditable true
+@DomName('MediaSource')
class MediaSource extends EventTarget native "*MediaSource" {
- ///@docsEditable true
+ /// @docsEditable true
factory MediaSource() => MediaSource._create();
static MediaSource _create() => JS('MediaSource', 'new MediaSource()');
- /// @domName MediaSource.activeSourceBuffers; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaSource.activeSourceBuffers')
final SourceBufferList activeSourceBuffers;
- /// @domName MediaSource.duration; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaSource.duration')
num duration;
- /// @domName MediaSource.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaSource.readyState')
final String readyState;
- /// @domName MediaSource.sourceBuffers; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaSource.sourceBuffers')
final SourceBufferList sourceBuffers;
- /// @domName MediaSource.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('MediaSource.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MediaSource.addSourceBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaSource.addSourceBuffer')
SourceBuffer addSourceBuffer(String type) native;
- /// @domName MediaSource.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('MediaSource.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName MediaSource.endOfStream; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaSource.endOfStream')
void endOfStream(String error) native;
- /// @domName MediaSource.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('MediaSource.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MediaSource.removeSourceBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaSource.removeSourceBuffer')
void removeSourceBuffer(SourceBuffer buffer) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14186,16 +15136,18 @@ class MediaSource extends EventTarget native "*MediaSource" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaStream; @docsEditable true
+/// @docsEditable true
+@DomName('MediaStream')
class MediaStream extends EventTarget native "*MediaStream" {
static const EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended');
- ///@docsEditable true
+ /// @docsEditable true
factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => MediaStream._create(audioTracks, videoTracks);
static MediaStream _create(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => JS('MediaStream', 'new MediaStream(#,#)', audioTracks, videoTracks);
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
MediaStreamEvents get on =>
new MediaStreamEvents(this);
@@ -14203,28 +15155,35 @@ class MediaStream extends EventTarget native "*MediaStream" {
static const int LIVE = 1;
- /// @domName MediaStream.audioTracks; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStream.audioTracks')
final MediaStreamTrackList audioTracks;
- /// @domName MediaStream.label; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStream.label')
final String label;
- /// @domName MediaStream.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStream.readyState')
final int readyState;
- /// @domName MediaStream.videoTracks; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStream.videoTracks')
final MediaStreamTrackList videoTracks;
- /// @domName MediaStream.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('MediaStream.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MediaStream.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('MediaStream.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName MediaStream.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('MediaStream.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<Event> get onEnded => endedEvent.forTarget(this);
@@ -14243,10 +15202,12 @@ class MediaStreamEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaStreamEvent; @docsEditable true
+/// @docsEditable true
+@DomName('MediaStreamEvent')
class MediaStreamEvent extends Event native "*MediaStreamEvent" {
- /// @domName MediaStreamEvent.stream; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamEvent.stream')
final MediaStream stream;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14254,7 +15215,8 @@ class MediaStreamEvent extends Event native "*MediaStreamEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaStreamTrack; @docsEditable true
+/// @docsEditable true
+@DomName('MediaStreamTrack')
class MediaStreamTrack extends EventTarget native "*MediaStreamTrack" {
static const EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended');
@@ -14263,7 +15225,8 @@ class MediaStreamTrack extends EventTarget native "*MediaStreamTrack" {
static const EventStreamProvider<Event> unmuteEvent = const EventStreamProvider<Event>('unmute');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
MediaStreamTrackEvents get on =>
new MediaStreamTrackEvents(this);
@@ -14273,28 +15236,35 @@ class MediaStreamTrack extends EventTarget native "*MediaStreamTrack" {
static const int MUTED = 1;
- /// @domName MediaStreamTrack.enabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrack.enabled')
bool enabled;
- /// @domName MediaStreamTrack.kind; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrack.kind')
final String kind;
- /// @domName MediaStreamTrack.label; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrack.label')
final String label;
- /// @domName MediaStreamTrack.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrack.readyState')
final int readyState;
- /// @domName MediaStreamTrack.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('MediaStreamTrack.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MediaStreamTrack.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('MediaStreamTrack.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName MediaStreamTrack.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('MediaStreamTrack.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<Event> get onEnded => endedEvent.forTarget(this);
@@ -14323,10 +15293,12 @@ class MediaStreamTrackEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaStreamTrackEvent; @docsEditable true
+/// @docsEditable true
+@DomName('MediaStreamTrackEvent')
class MediaStreamTrackEvent extends Event native "*MediaStreamTrackEvent" {
- /// @domName MediaStreamTrackEvent.track; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrackEvent.track')
final MediaStreamTrack track;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14334,39 +15306,48 @@ class MediaStreamTrackEvent extends Event native "*MediaStreamTrackEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaStreamTrackList; @docsEditable true
+/// @docsEditable true
+@DomName('MediaStreamTrackList')
class MediaStreamTrackList extends EventTarget native "*MediaStreamTrackList" {
static const EventStreamProvider<MediaStreamTrackEvent> addTrackEvent = const EventStreamProvider<MediaStreamTrackEvent>('addtrack');
static const EventStreamProvider<MediaStreamTrackEvent> removeTrackEvent = const EventStreamProvider<MediaStreamTrackEvent>('removetrack');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
MediaStreamTrackListEvents get on =>
new MediaStreamTrackListEvents(this);
- /// @domName MediaStreamTrackList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrackList.length')
final int length;
- /// @domName MediaStreamTrackList.add; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrackList.add')
void add(MediaStreamTrack track) native;
- /// @domName MediaStreamTrackList.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('MediaStreamTrackList.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MediaStreamTrackList.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('MediaStreamTrackList.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName MediaStreamTrackList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrackList.item')
MediaStreamTrack item(int index) native;
- /// @domName MediaStreamTrackList.remove; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamTrackList.remove')
void remove(MediaStreamTrack track) native;
- /// @domName MediaStreamTrackList.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('MediaStreamTrackList.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<MediaStreamTrackEvent> get onAddTrack => addTrackEvent.forTarget(this);
@@ -14390,16 +15371,20 @@ class MediaStreamTrackListEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MemoryInfo; @docsEditable true
+/// @docsEditable true
+@DomName('MemoryInfo')
class MemoryInfo native "*MemoryInfo" {
- /// @domName MemoryInfo.jsHeapSizeLimit; @docsEditable true
+ /// @docsEditable true
+ @DomName('MemoryInfo.jsHeapSizeLimit')
final int jsHeapSizeLimit;
- /// @domName MemoryInfo.totalJSHeapSize; @docsEditable true
+ /// @docsEditable true
+ @DomName('MemoryInfo.totalJSHeapSize')
final int totalJSHeapSize;
- /// @domName MemoryInfo.usedJSHeapSize; @docsEditable true
+ /// @docsEditable true
+ @DomName('MemoryInfo.usedJSHeapSize')
final int usedJSHeapSize;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14407,20 +15392,11 @@ class MemoryInfo native "*MemoryInfo" {
// BSD-style license that can be found in the LICENSE file.
-/**
- * An HTML <menu> element.
- *
- * A <menu> element represents an unordered list of menu commands.
- *
- * See also:
- *
- * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu) from MDN.
- * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-element) from the W3C.
- */
-/// @domName HTMLMenuElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLMenuElement')
class MenuElement extends Element native "*HTMLMenuElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory MenuElement() => document.$dom_createElement("menu");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14428,17 +15404,20 @@ class MenuElement extends Element native "*HTMLMenuElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MessageChannel; @docsEditable true
+/// @docsEditable true
+@DomName('MessageChannel')
class MessageChannel native "*MessageChannel" {
- ///@docsEditable true
+ /// @docsEditable true
factory MessageChannel() => MessageChannel._create();
static MessageChannel _create() => JS('MessageChannel', 'new MessageChannel()');
- /// @domName MessageChannel.port1; @docsEditable true
+ /// @docsEditable true
+ @DomName('MessageChannel.port1')
final MessagePort port1;
- /// @domName MessageChannel.port2; @docsEditable true
+ /// @docsEditable true
+ @DomName('MessageChannel.port2')
final MessagePort port2;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14446,35 +15425,40 @@ class MessageChannel native "*MessageChannel" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MessageEvent; @docsEditable true
+/// @docsEditable true
+@DomName('MessageEvent')
class MessageEvent extends Event native "*MessageEvent" {
- /// @domName MessageEvent.data; @docsEditable true
+ /// @docsEditable true
dynamic get data => convertNativeToDart_SerializedScriptValue(this._data);
@JSName('data')
- @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue
+ @DomName('MessageEvent.data') @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue
final dynamic _data;
- /// @domName MessageEvent.lastEventId; @docsEditable true
+ /// @docsEditable true
+ @DomName('MessageEvent.lastEventId')
final String lastEventId;
- /// @domName MessageEvent.origin; @docsEditable true
+ /// @docsEditable true
+ @DomName('MessageEvent.origin')
final String origin;
- /// @domName MessageEvent.ports; @docsEditable true
- @Creates('=List')
+ /// @docsEditable true
+ @DomName('MessageEvent.ports') @Creates('=List')
final List ports;
- /// @domName MessageEvent.source; @docsEditable true
+ /// @docsEditable true
WindowBase get source => _convertNativeToDart_Window(this._source);
@JSName('source')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('MessageEvent.source') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _source;
- /// @domName MessageEvent.initMessageEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('MessageEvent.initMessageEvent')
void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, List messagePorts) native;
- /// @domName MessageEvent.webkitInitMessageEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('MessageEvent.webkitInitMessageEvent')
void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, List transferables) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14482,27 +15466,32 @@ class MessageEvent extends Event native "*MessageEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MessagePort; @docsEditable true
+/// @docsEditable true
+@DomName('MessagePort')
class MessagePort extends EventTarget native "*MessagePort" {
static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
MessagePortEvents get on =>
new MessagePortEvents(this);
- /// @domName MessagePort.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('MessagePort.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MessagePort.close; @docsEditable true
+ /// @docsEditable true
+ @DomName('MessagePort.close')
void close() native;
- /// @domName MessagePort.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('MessagePort.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName MessagePort.postMessage; @docsEditable true
+ /// @docsEditable true
void postMessage(/*any*/ message, [List messagePorts]) {
if (?messagePorts) {
var message_1 = convertDartToNative_SerializedScriptValue(message);
@@ -14514,15 +15503,19 @@ class MessagePort extends EventTarget native "*MessagePort" {
return;
}
@JSName('postMessage')
+ @DomName('MessagePort.postMessage')
void _postMessage_1(message, List messagePorts) native;
@JSName('postMessage')
+ @DomName('MessagePort.postMessage')
void _postMessage_2(message) native;
- /// @domName MessagePort.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('MessagePort.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName MessagePort.start; @docsEditable true
+ /// @docsEditable true
+ @DomName('MessagePort.start')
void start() native;
Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);
@@ -14541,16 +15534,20 @@ class MessagePortEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLMetaElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLMetaElement')
class MetaElement extends Element native "*HTMLMetaElement" {
- /// @domName HTMLMetaElement.content; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMetaElement.content')
String content;
- /// @domName HTMLMetaElement.httpEquiv; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMetaElement.httpEquiv')
String httpEquiv;
- /// @domName HTMLMetaElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMetaElement.name')
String name;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14558,13 +15555,16 @@ class MetaElement extends Element native "*HTMLMetaElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Metadata; @docsEditable true
+/// @docsEditable true
+@DomName('Metadata')
class Metadata native "*Metadata" {
- /// @domName Metadata.modificationTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('Metadata.modificationTime')
final Date modificationTime;
- /// @domName Metadata.size; @docsEditable true
+ /// @docsEditable true
+ @DomName('Metadata.size')
final int size;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14580,38 +15580,46 @@ typedef void MetadataCallback(Metadata metadata);
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLMeterElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLMeterElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.SAFARI)
class MeterElement extends Element native "*HTMLMeterElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory MeterElement() => document.$dom_createElement("meter");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('meter');
- /// @domName HTMLMeterElement.high; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMeterElement.high')
num high;
- /// @domName HTMLMeterElement.labels; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMeterElement.labels')
@Returns('NodeList') @Creates('NodeList')
final List<Node> labels;
- /// @domName HTMLMeterElement.low; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMeterElement.low')
num low;
- /// @domName HTMLMeterElement.max; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMeterElement.max')
num max;
- /// @domName HTMLMeterElement.min; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMeterElement.min')
num min;
- /// @domName HTMLMeterElement.optimum; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMeterElement.optimum')
num optimum;
- /// @domName HTMLMeterElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLMeterElement.value')
num value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14619,13 +15627,16 @@ class MeterElement extends Element native "*HTMLMeterElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLModElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLModElement')
class ModElement extends Element native "*HTMLModElement" {
- /// @domName HTMLModElement.cite; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLModElement.cite')
String cite;
- /// @domName HTMLModElement.dateTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLModElement.dateTime')
String dateTime;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14633,7 +15644,7 @@ class ModElement extends Element native "*HTMLModElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MouseEvent
+@DomName('MouseEvent')
class MouseEvent extends UIEvent native "*MouseEvent" {
factory MouseEvent(String type, Window view, int detail, int screenX,
int screenY, int clientX, int clientY, int button, [bool canBubble = true,
@@ -14646,67 +15657,84 @@ class MouseEvent extends UIEvent native "*MouseEvent" {
ctrlKey, altKey, shiftKey, metaKey,
relatedTarget);
- /// @domName MouseEvent.altKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.altKey')
final bool altKey;
- /// @domName MouseEvent.button; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.button')
final int button;
- /// @domName MouseEvent.clientX; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.clientX')
final int clientX;
- /// @domName MouseEvent.clientY; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.clientY')
final int clientY;
- /// @domName MouseEvent.ctrlKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.ctrlKey')
final bool ctrlKey;
- /// @domName MouseEvent.dataTransfer; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.dataTransfer')
final Clipboard dataTransfer;
- /// @domName MouseEvent.fromElement; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.fromElement')
final Node fromElement;
- /// @domName MouseEvent.metaKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.metaKey')
final bool metaKey;
- /// @domName MouseEvent.relatedTarget; @docsEditable true
+ /// @docsEditable true
EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._relatedTarget);
@JSName('relatedTarget')
- @Creates('Node') @Returns('EventTarget|=Object')
+ @DomName('MouseEvent.relatedTarget') @Creates('Node') @Returns('EventTarget|=Object')
final dynamic _relatedTarget;
- /// @domName MouseEvent.screenX; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.screenX')
final int screenX;
- /// @domName MouseEvent.screenY; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.screenY')
final int screenY;
- /// @domName MouseEvent.shiftKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.shiftKey')
final bool shiftKey;
- /// @domName MouseEvent.toElement; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.toElement')
final Node toElement;
- /// @domName MouseEvent.webkitMovementX; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.webkitMovementX')
final int webkitMovementX;
- /// @domName MouseEvent.webkitMovementY; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.webkitMovementY')
final int webkitMovementY;
- /// @domName MouseEvent.x; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.x')
final int x;
- /// @domName MouseEvent.y; @docsEditable true
+ /// @docsEditable true
+ @DomName('MouseEvent.y')
final int y;
- /// @domName MouseEvent.initMouseEvent; @docsEditable true
+ /// @docsEditable true
void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget) {
var relatedTarget_1 = _convertDartToNative_EventTarget(relatedTarget);
_$dom_initMouseEvent_1(type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget_1);
return;
}
@JSName('initMouseEvent')
+ @DomName('MouseEvent.initMouseEvent')
void _$dom_initMouseEvent_1(type, canBubble, cancelable, Window view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) native;
@@ -14751,7 +15779,8 @@ typedef void MutationCallback(List<MutationRecord> mutations, MutationObserver o
// BSD-style license that can be found in the LICENSE file.
-/// @domName MutationEvent; @docsEditable true
+/// @docsEditable true
+@DomName('MutationEvent')
class MutationEvent extends Event native "*MutationEvent" {
static const int ADDITION = 2;
@@ -14760,22 +15789,28 @@ class MutationEvent extends Event native "*MutationEvent" {
static const int REMOVAL = 3;
- /// @domName MutationEvent.attrChange; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationEvent.attrChange')
final int attrChange;
- /// @domName MutationEvent.attrName; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationEvent.attrName')
final String attrName;
- /// @domName MutationEvent.newValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationEvent.newValue')
final String newValue;
- /// @domName MutationEvent.prevValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationEvent.prevValue')
final String prevValue;
- /// @domName MutationEvent.relatedNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationEvent.relatedNode')
final Node relatedNode;
- /// @domName MutationEvent.initMutationEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationEvent.initMutationEvent')
void initMutationEvent(String type, bool canBubble, bool cancelable, Node relatedNode, String prevValue, String newValue, String attrName, int attrChange) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14783,29 +15818,32 @@ class MutationEvent extends Event native "*MutationEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MutationObserver
+@DomName('MutationObserver')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental()
class MutationObserver native "*MutationObserver" {
- ///@docsEditable true
+ /// @docsEditable true
factory MutationObserver(MutationCallback callback) => MutationObserver._create(callback);
- /// @domName MutationObserver.disconnect; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationObserver.disconnect')
void disconnect() native;
- /// @domName MutationObserver._observe; @docsEditable true
+ /// @docsEditable true
void _observe(Node target, Map options) {
var options_1 = convertDartToNative_Dictionary(options);
__observe_1(target, options_1);
return;
}
@JSName('observe')
+ @DomName('MutationObserver.observe')
void __observe_1(Node target, options) native;
- /// @domName MutationObserver.takeRecords; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationObserver.takeRecords')
List<MutationRecord> takeRecords() native;
/**
@@ -14894,36 +15932,46 @@ class MutationObserver native "*MutationObserver" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName MutationRecord; @docsEditable true
+/// @docsEditable true
+@DomName('MutationRecord')
class MutationRecord native "*MutationRecord" {
- /// @domName MutationRecord.addedNodes; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.addedNodes')
@Returns('NodeList') @Creates('NodeList')
final List<Node> addedNodes;
- /// @domName MutationRecord.attributeName; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.attributeName')
final String attributeName;
- /// @domName MutationRecord.attributeNamespace; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.attributeNamespace')
final String attributeNamespace;
- /// @domName MutationRecord.nextSibling; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.nextSibling')
final Node nextSibling;
- /// @domName MutationRecord.oldValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.oldValue')
final String oldValue;
- /// @domName MutationRecord.previousSibling; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.previousSibling')
final Node previousSibling;
- /// @domName MutationRecord.removedNodes; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.removedNodes')
@Returns('NodeList') @Creates('NodeList')
final List<Node> removedNodes;
- /// @domName MutationRecord.target; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.target')
final Node target;
- /// @domName MutationRecord.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('MutationRecord.type')
final String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -14931,10 +15979,12 @@ class MutationRecord native "*MutationRecord" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName NamedNodeMap; @docsEditable true
+/// @docsEditable true
+@DomName('NamedNodeMap')
class NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*NamedNodeMap" {
- /// @domName NamedNodeMap.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('NamedNodeMap.length')
int get length => JS("int", "#.length", this);
Node operator[](int index) => JS("Node", "#[#]", this, index);
@@ -15082,25 +16132,32 @@ class NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*Na
// -- end List<Node> mixins.
- /// @domName NamedNodeMap.getNamedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('NamedNodeMap.getNamedItem')
Node getNamedItem(String name) native;
- /// @domName NamedNodeMap.getNamedItemNS; @docsEditable true
+ /// @docsEditable true
+ @DomName('NamedNodeMap.getNamedItemNS')
Node getNamedItemNS(String namespaceURI, String localName) native;
- /// @domName NamedNodeMap.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('NamedNodeMap.item')
Node item(int index) native;
- /// @domName NamedNodeMap.removeNamedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('NamedNodeMap.removeNamedItem')
Node removeNamedItem(String name) native;
- /// @domName NamedNodeMap.removeNamedItemNS; @docsEditable true
+ /// @docsEditable true
+ @DomName('NamedNodeMap.removeNamedItemNS')
Node removeNamedItemNS(String namespaceURI, String localName) native;
- /// @domName NamedNodeMap.setNamedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('NamedNodeMap.setNamedItem')
Node setNamedItem(Node node) native;
- /// @domName NamedNodeMap.setNamedItemNS; @docsEditable true
+ /// @docsEditable true
+ @DomName('NamedNodeMap.setNamedItemNS')
Node setNamedItemNS(Node node) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -15108,69 +16165,88 @@ class NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*Na
// BSD-style license that can be found in the LICENSE file.
-/// @domName Navigator; @docsEditable true
+@DomName('Navigator')
class Navigator native "*Navigator" {
- /// @domName Navigator.language; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.language')
String get language => JS('String', '#.language || #.userLanguage', this,
this);
- /// @domName Navigator.appCodeName; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.appCodeName')
final String appCodeName;
- /// @domName Navigator.appName; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.appName')
final String appName;
- /// @domName Navigator.appVersion; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.appVersion')
final String appVersion;
- /// @domName Navigator.cookieEnabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.cookieEnabled')
final bool cookieEnabled;
- /// @domName Navigator.geolocation; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.geolocation')
final Geolocation geolocation;
- /// @domName Navigator.mimeTypes; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.mimeTypes')
final DomMimeTypeArray mimeTypes;
- /// @domName Navigator.onLine; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.onLine')
final bool onLine;
- /// @domName Navigator.platform; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.platform')
final String platform;
- /// @domName Navigator.plugins; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.plugins')
final DomPluginArray plugins;
- /// @domName Navigator.product; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.product')
final String product;
- /// @domName Navigator.productSub; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.productSub')
final String productSub;
- /// @domName Navigator.userAgent; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.userAgent')
final String userAgent;
- /// @domName Navigator.vendor; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.vendor')
final String vendor;
- /// @domName Navigator.vendorSub; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.vendorSub')
final String vendorSub;
- /// @domName Navigator.webkitBattery; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.webkitBattery')
final BatteryManager webkitBattery;
- /// @domName Navigator.getStorageUpdates; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.getStorageUpdates')
void getStorageUpdates() native;
- /// @domName Navigator.javaEnabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.javaEnabled')
bool javaEnabled() native;
- /// @domName Navigator.webkitGetGamepads; @docsEditable true
+ /// @docsEditable true
+ @DomName('Navigator.webkitGetGamepads')
@Returns('_GamepadList') @Creates('_GamepadList')
List<Gamepad> webkitGetGamepads() native;
- /// @domName Navigator.webkitGetUserMedia; @docsEditable true
+ /// @docsEditable true
void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]) {
if (?errorCallback) {
var options_1 = convertDartToNative_Dictionary(options);
@@ -15182,8 +16258,10 @@ class Navigator native "*Navigator" {
return;
}
@JSName('webkitGetUserMedia')
+ @DomName('Navigator.webkitGetUserMedia')
void _webkitGetUserMedia_1(options, NavigatorUserMediaSuccessCallback successCallback, NavigatorUserMediaErrorCallback errorCallback) native;
@JSName('webkitGetUserMedia')
+ @DomName('Navigator.webkitGetUserMedia')
void _webkitGetUserMedia_2(options, NavigatorUserMediaSuccessCallback successCallback) native;
}
@@ -15192,12 +16270,14 @@ class Navigator native "*Navigator" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName NavigatorUserMediaError; @docsEditable true
+/// @docsEditable true
+@DomName('NavigatorUserMediaError')
class NavigatorUserMediaError native "*NavigatorUserMediaError" {
static const int PERMISSION_DENIED = 1;
- /// @domName NavigatorUserMediaError.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('NavigatorUserMediaError.code')
final int code;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -15401,7 +16481,7 @@ class _ChildNodeListLazy implements List {
Node operator[](int index) => _this.$dom_childNodes[index];
}
-/// @domName Node
+@DomName('Node')
class Node extends EventTarget native "*Node" {
List<Node> get nodes {
return new _ChildNodeListLazy(this);
@@ -15419,8 +16499,8 @@ class Node extends EventTarget native "*Node" {
/**
* Removes this node from the DOM.
- * @domName Node.removeChild
*/
+ @DomName('Node.removeChild')
void remove() {
// TODO(jacobr): should we throw an exception if parent is already null?
// TODO(vsm): Use the native remove when available.
@@ -15432,8 +16512,8 @@ class Node extends EventTarget native "*Node" {
/**
* Replaces this node with another node.
- * @domName Node.replaceChild
*/
+ @DomName('Node.replaceChild')
Node replaceWith(Node otherNode) {
try {
final Node parent = this.parentNode;
@@ -15481,92 +16561,115 @@ class Node extends EventTarget native "*Node" {
static const int TEXT_NODE = 3;
- /// @domName Node.attributes; @docsEditable true
+ /// @docsEditable true
@JSName('attributes')
+ @DomName('Node.attributes')
final NamedNodeMap $dom_attributes;
- /// @domName Node.childNodes; @docsEditable true
+ /// @docsEditable true
@JSName('childNodes')
+ @DomName('Node.childNodes')
@Returns('NodeList') @Creates('NodeList')
final List<Node> $dom_childNodes;
- /// @domName Node.firstChild; @docsEditable true
+ /// @docsEditable true
@JSName('firstChild')
+ @DomName('Node.firstChild')
final Node $dom_firstChild;
- /// @domName Node.lastChild; @docsEditable true
+ /// @docsEditable true
@JSName('lastChild')
+ @DomName('Node.lastChild')
final Node $dom_lastChild;
- /// @domName Node.localName; @docsEditable true
+ /// @docsEditable true
@JSName('localName')
+ @DomName('Node.localName')
final String $dom_localName;
- /// @domName Node.namespaceURI; @docsEditable true
+ /// @docsEditable true
@JSName('namespaceURI')
+ @DomName('Node.namespaceURI')
final String $dom_namespaceUri;
- /// @domName Node.nextSibling; @docsEditable true
+ /// @docsEditable true
@JSName('nextSibling')
+ @DomName('Node.nextSibling')
final Node nextNode;
- /// @domName Node.nodeType; @docsEditable true
+ /// @docsEditable true
+ @DomName('Node.nodeType')
final int nodeType;
- /// @domName Node.ownerDocument; @docsEditable true
+ /// @docsEditable true
@JSName('ownerDocument')
+ @DomName('Node.ownerDocument')
final Document document;
- /// @domName Node.parentElement; @docsEditable true
+ /// @docsEditable true
@JSName('parentElement')
+ @DomName('Node.parentElement')
final Element parent;
- /// @domName Node.parentNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('Node.parentNode')
final Node parentNode;
- /// @domName Node.previousSibling; @docsEditable true
+ /// @docsEditable true
@JSName('previousSibling')
+ @DomName('Node.previousSibling')
final Node previousNode;
- /// @domName Node.textContent; @docsEditable true
+ /// @docsEditable true
@JSName('textContent')
+ @DomName('Node.textContent')
String text;
- /// @domName Node.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('Node.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName Node.appendChild; @docsEditable true
+ /// @docsEditable true
@JSName('appendChild')
+ @DomName('Node.appendChild')
Node $dom_appendChild(Node newChild) native;
- /// @domName Node.cloneNode; @docsEditable true
+ /// @docsEditable true
@JSName('cloneNode')
+ @DomName('Node.cloneNode')
Node clone(bool deep) native;
- /// @domName Node.contains; @docsEditable true
+ /// @docsEditable true
+ @DomName('Node.contains')
bool contains(Node other) native;
- /// @domName Node.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('Node.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName Node.hasChildNodes; @docsEditable true
+ /// @docsEditable true
+ @DomName('Node.hasChildNodes')
bool hasChildNodes() native;
- /// @domName Node.insertBefore; @docsEditable true
+ /// @docsEditable true
+ @DomName('Node.insertBefore')
Node insertBefore(Node newChild, Node refChild) native;
- /// @domName Node.removeChild; @docsEditable true
+ /// @docsEditable true
@JSName('removeChild')
+ @DomName('Node.removeChild')
Node $dom_removeChild(Node oldChild) native;
- /// @domName Node.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('Node.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName Node.replaceChild; @docsEditable true
+ /// @docsEditable true
@JSName('replaceChild')
+ @DomName('Node.replaceChild')
Node $dom_replaceChild(Node newChild, Node oldChild) native;
}
@@ -15575,7 +16678,8 @@ class Node extends EventTarget native "*Node" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName NodeFilter; @docsEditable true
+/// @docsEditable true
+@DomName('NodeFilter')
class NodeFilter native "*NodeFilter" {
static const int FILTER_ACCEPT = 1;
@@ -15610,7 +16714,8 @@ class NodeFilter native "*NodeFilter" {
static const int SHOW_TEXT = 0x00000004;
- /// @domName NodeFilter.acceptNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeFilter.acceptNode')
int acceptNode(Node n) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -15618,34 +16723,44 @@ class NodeFilter native "*NodeFilter" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName NodeIterator; @docsEditable true
+/// @docsEditable true
+@DomName('NodeIterator')
class NodeIterator native "*NodeIterator" {
- /// @domName NodeIterator.expandEntityReferences; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.expandEntityReferences')
final bool expandEntityReferences;
- /// @domName NodeIterator.filter; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.filter')
final NodeFilter filter;
- /// @domName NodeIterator.pointerBeforeReferenceNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.pointerBeforeReferenceNode')
final bool pointerBeforeReferenceNode;
- /// @domName NodeIterator.referenceNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.referenceNode')
final Node referenceNode;
- /// @domName NodeIterator.root; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.root')
final Node root;
- /// @domName NodeIterator.whatToShow; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.whatToShow')
final int whatToShow;
- /// @domName NodeIterator.detach; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.detach')
void detach() native;
- /// @domName NodeIterator.nextNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.nextNode')
Node nextNode() native;
- /// @domName NodeIterator.previousNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeIterator.previousNode')
Node previousNode() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -15653,10 +16768,12 @@ class NodeIterator native "*NodeIterator" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName NodeList; @docsEditable true
+/// @docsEditable true
+@DomName('NodeList')
class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeList" {
- /// @domName NodeList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('NodeList.length')
int get length => JS("int", "#.length", this);
Node operator[](int index) => JS("Node", "#[#]", this, index);
@@ -15804,8 +16921,9 @@ class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
// -- end List<Node> mixins.
- /// @domName NodeList.item; @docsEditable true
+ /// @docsEditable true
@JSName('item')
+ @DomName('NodeList.item')
Node _item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -15813,13 +16931,16 @@ class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
// BSD-style license that can be found in the LICENSE file.
-/// @domName Notation; @docsEditable true
+/// @docsEditable true
+@DomName('Notation')
class Notation extends Node native "*Notation" {
- /// @domName Notation.publicId; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notation.publicId')
final String publicId;
- /// @domName Notation.systemId; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notation.systemId')
final String systemId;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -15827,7 +16948,8 @@ class Notation extends Node native "*Notation" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Notification; @docsEditable true
+/// @docsEditable true
+@DomName('Notification')
class Notification extends EventTarget native "*Notification" {
static const EventStreamProvider<Event> clickEvent = const EventStreamProvider<Event>('click');
@@ -15840,7 +16962,7 @@ class Notification extends EventTarget native "*Notification" {
static const EventStreamProvider<Event> showEvent = const EventStreamProvider<Event>('show');
- ///@docsEditable true
+ /// @docsEditable true
factory Notification(String title, [Map options]) {
if (!?options) {
return Notification._create(title);
@@ -15854,44 +16976,56 @@ class Notification extends EventTarget native "*Notification" {
return JS('Notification', 'new Notification(#,#)', title, options);
}
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
NotificationEvents get on =>
new NotificationEvents(this);
- /// @domName Notification.dir; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notification.dir')
String dir;
- /// @domName Notification.permission; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notification.permission')
final String permission;
- /// @domName Notification.replaceId; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notification.replaceId')
String replaceId;
- /// @domName Notification.tag; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notification.tag')
String tag;
- /// @domName Notification.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('Notification.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName Notification.cancel; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notification.cancel')
void cancel() native;
- /// @domName Notification.close; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notification.close')
void close() native;
- /// @domName Notification.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('Notification.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName Notification.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('Notification.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName Notification.requestPermission; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notification.requestPermission')
static void requestPermission(NotificationPermissionCallback callback) native;
- /// @domName Notification.show; @docsEditable true
+ /// @docsEditable true
+ @DomName('Notification.show')
void show() native;
Stream<Event> get onClick => clickEvent.forTarget(this);
@@ -15930,20 +17064,25 @@ class NotificationEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName NotificationCenter; @docsEditable true
+/// @docsEditable true
+@DomName('NotificationCenter')
class NotificationCenter native "*NotificationCenter" {
- /// @domName NotificationCenter.checkPermission; @docsEditable true
+ /// @docsEditable true
+ @DomName('NotificationCenter.checkPermission')
int checkPermission() native;
- /// @domName NotificationCenter.createHTMLNotification; @docsEditable true
+ /// @docsEditable true
@JSName('createHTMLNotification')
+ @DomName('NotificationCenter.createHTMLNotification')
Notification createHtmlNotification(String url) native;
- /// @domName NotificationCenter.createNotification; @docsEditable true
+ /// @docsEditable true
+ @DomName('NotificationCenter.createNotification')
Notification createNotification(String iconUrl, String title, String body) native;
- /// @domName NotificationCenter.requestPermission; @docsEditable true
+ /// @docsEditable true
+ @DomName('NotificationCenter.requestPermission')
void requestPermission(VoidCallback callback) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -15959,19 +17098,23 @@ typedef void NotificationPermissionCallback(String permission);
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLOListElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLOListElement')
class OListElement extends Element native "*HTMLOListElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory OListElement() => document.$dom_createElement("ol");
- /// @domName HTMLOListElement.reversed; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOListElement.reversed')
bool reversed;
- /// @domName HTMLOListElement.start; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOListElement.start')
int start;
- /// @domName HTMLOListElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOListElement.type')
String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -15979,55 +17122,69 @@ class OListElement extends Element native "*HTMLOListElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLObjectElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLObjectElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.SAFARI)
class ObjectElement extends Element native "*HTMLObjectElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory ObjectElement() => document.$dom_createElement("object");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('object');
- /// @domName HTMLObjectElement.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.code')
String code;
- /// @domName HTMLObjectElement.data; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.data')
String data;
- /// @domName HTMLObjectElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.form')
final FormElement form;
- /// @domName HTMLObjectElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.height')
String height;
- /// @domName HTMLObjectElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.name')
String name;
- /// @domName HTMLObjectElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.type')
String type;
- /// @domName HTMLObjectElement.useMap; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.useMap')
String useMap;
- /// @domName HTMLObjectElement.validationMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.validationMessage')
final String validationMessage;
- /// @domName HTMLObjectElement.validity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.validity')
final ValidityState validity;
- /// @domName HTMLObjectElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.width')
String width;
- /// @domName HTMLObjectElement.willValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.willValidate')
final bool willValidate;
- /// @domName HTMLObjectElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLObjectElement.setCustomValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLObjectElement.setCustomValidity')
void setCustomValidity(String error) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16035,7 +17192,8 @@ class ObjectElement extends Element native "*HTMLObjectElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName OESElementIndexUint; @docsEditable true
+/// @docsEditable true
+@DomName('OESElementIndexUint')
class OesElementIndexUint native "*OESElementIndexUint" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16043,7 +17201,8 @@ class OesElementIndexUint native "*OESElementIndexUint" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName OESStandardDerivatives; @docsEditable true
+/// @docsEditable true
+@DomName('OESStandardDerivatives')
class OesStandardDerivatives native "*OESStandardDerivatives" {
static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
@@ -16053,7 +17212,8 @@ class OesStandardDerivatives native "*OESStandardDerivatives" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName OESTextureFloat; @docsEditable true
+/// @docsEditable true
+@DomName('OESTextureFloat')
class OesTextureFloat native "*OESTextureFloat" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16061,25 +17221,30 @@ class OesTextureFloat native "*OESTextureFloat" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName OESVertexArrayObject; @docsEditable true
+/// @docsEditable true
+@DomName('OESVertexArrayObject')
class OesVertexArrayObject native "*OESVertexArrayObject" {
static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
- /// @domName OESVertexArrayObject.bindVertexArrayOES; @docsEditable true
+ /// @docsEditable true
@JSName('bindVertexArrayOES')
+ @DomName('OESVertexArrayObject.bindVertexArrayOES')
void bindVertexArray(WebGLVertexArrayObject arrayObject) native;
- /// @domName OESVertexArrayObject.createVertexArrayOES; @docsEditable true
+ /// @docsEditable true
@JSName('createVertexArrayOES')
+ @DomName('OESVertexArrayObject.createVertexArrayOES')
WebGLVertexArrayObject createVertexArray() native;
- /// @domName OESVertexArrayObject.deleteVertexArrayOES; @docsEditable true
+ /// @docsEditable true
@JSName('deleteVertexArrayOES')
+ @DomName('OESVertexArrayObject.deleteVertexArrayOES')
void deleteVertexArray(WebGLVertexArrayObject arrayObject) native;
- /// @domName OESVertexArrayObject.isVertexArrayOES; @docsEditable true
+ /// @docsEditable true
@JSName('isVertexArrayOES')
+ @DomName('OESVertexArrayObject.isVertexArrayOES')
bool isVertexArray(WebGLVertexArrayObject arrayObject) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16087,16 +17252,19 @@ class OesVertexArrayObject native "*OESVertexArrayObject" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLOptGroupElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLOptGroupElement')
class OptGroupElement extends Element native "*HTMLOptGroupElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory OptGroupElement() => document.$dom_createElement("optgroup");
- /// @domName HTMLOptGroupElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptGroupElement.disabled')
bool disabled;
- /// @domName HTMLOptGroupElement.label; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptGroupElement.label')
String label;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16104,10 +17272,11 @@ class OptGroupElement extends Element native "*HTMLOptGroupElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLOptionElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLOptionElement')
class OptionElement extends Element native "*HTMLOptionElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory OptionElement([String data, String value, bool defaultSelected, bool selected]) {
if (!?data) {
return OptionElement._create();
@@ -16139,25 +17308,32 @@ class OptionElement extends Element native "*HTMLOptionElement" {
return JS('OptionElement', 'new Option(#,#,#,#)', data, value, defaultSelected, selected);
}
- /// @domName HTMLOptionElement.defaultSelected; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionElement.defaultSelected')
bool defaultSelected;
- /// @domName HTMLOptionElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionElement.disabled')
bool disabled;
- /// @domName HTMLOptionElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionElement.form')
final FormElement form;
- /// @domName HTMLOptionElement.index; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionElement.index')
final int index;
- /// @domName HTMLOptionElement.label; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionElement.label')
String label;
- /// @domName HTMLOptionElement.selected; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionElement.selected')
bool selected;
- /// @domName HTMLOptionElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOptionElement.value')
String value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16165,53 +17341,66 @@ class OptionElement extends Element native "*HTMLOptionElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLOutputElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLOutputElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.SAFARI)
class OutputElement extends Element native "*HTMLOutputElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory OutputElement() => document.$dom_createElement("output");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('output');
- /// @domName HTMLOutputElement.defaultValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.defaultValue')
String defaultValue;
- /// @domName HTMLOutputElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.form')
final FormElement form;
- /// @domName HTMLOutputElement.htmlFor; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.htmlFor')
DomSettableTokenList htmlFor;
- /// @domName HTMLOutputElement.labels; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.labels')
@Returns('NodeList') @Creates('NodeList')
final List<Node> labels;
- /// @domName HTMLOutputElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.name')
String name;
- /// @domName HTMLOutputElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.type')
final String type;
- /// @domName HTMLOutputElement.validationMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.validationMessage')
final String validationMessage;
- /// @domName HTMLOutputElement.validity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.validity')
final ValidityState validity;
- /// @domName HTMLOutputElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.value')
String value;
- /// @domName HTMLOutputElement.willValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.willValidate')
final bool willValidate;
- /// @domName HTMLOutputElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLOutputElement.setCustomValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLOutputElement.setCustomValidity')
void setCustomValidity(String error) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16219,7 +17408,8 @@ class OutputElement extends Element native "*HTMLOutputElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName OverflowEvent; @docsEditable true
+/// @docsEditable true
+@DomName('OverflowEvent')
class OverflowEvent extends Event native "*OverflowEvent" {
static const int BOTH = 2;
@@ -16228,13 +17418,16 @@ class OverflowEvent extends Event native "*OverflowEvent" {
static const int VERTICAL = 1;
- /// @domName OverflowEvent.horizontalOverflow; @docsEditable true
+ /// @docsEditable true
+ @DomName('OverflowEvent.horizontalOverflow')
final bool horizontalOverflow;
- /// @domName OverflowEvent.orient; @docsEditable true
+ /// @docsEditable true
+ @DomName('OverflowEvent.orient')
final int orient;
- /// @domName OverflowEvent.verticalOverflow; @docsEditable true
+ /// @docsEditable true
+ @DomName('OverflowEvent.verticalOverflow')
final bool verticalOverflow;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16242,19 +17435,24 @@ class OverflowEvent extends Event native "*OverflowEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName PagePopupController; @docsEditable true
+/// @docsEditable true
+@DomName('PagePopupController')
class PagePopupController native "*PagePopupController" {
- /// @domName PagePopupController.formatMonth; @docsEditable true
+ /// @docsEditable true
+ @DomName('PagePopupController.formatMonth')
String formatMonth(int year, int zeroBaseMonth) native;
- /// @domName PagePopupController.histogramEnumeration; @docsEditable true
+ /// @docsEditable true
+ @DomName('PagePopupController.histogramEnumeration')
void histogramEnumeration(String name, int sample, int boundaryValue) native;
- /// @domName PagePopupController.localizeNumberString; @docsEditable true
+ /// @docsEditable true
+ @DomName('PagePopupController.localizeNumberString')
String localizeNumberString(String numberString) native;
- /// @domName PagePopupController.setValueAndClosePopup; @docsEditable true
+ /// @docsEditable true
+ @DomName('PagePopupController.setValueAndClosePopup')
void setValueAndClosePopup(int numberValue, String stringValue) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16262,10 +17460,12 @@ class PagePopupController native "*PagePopupController" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName PageTransitionEvent; @docsEditable true
+/// @docsEditable true
+@DomName('PageTransitionEvent')
class PageTransitionEvent extends Event native "*PageTransitionEvent" {
- /// @domName PageTransitionEvent.persisted; @docsEditable true
+ /// @docsEditable true
+ @DomName('PageTransitionEvent.persisted')
final bool persisted;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16273,10 +17473,11 @@ class PageTransitionEvent extends Event native "*PageTransitionEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLParagraphElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLParagraphElement')
class ParagraphElement extends Element native "*HTMLParagraphElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory ParagraphElement() => document.$dom_createElement("p");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16284,16 +17485,19 @@ class ParagraphElement extends Element native "*HTMLParagraphElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLParamElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLParamElement')
class ParamElement extends Element native "*HTMLParamElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory ParamElement() => document.$dom_createElement("param");
- /// @domName HTMLParamElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLParamElement.name')
String name;
- /// @domName HTMLParamElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLParamElement.value')
String value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16301,7 +17505,8 @@ class ParamElement extends Element native "*HTMLParamElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Performance; @docsEditable true
+/// @docsEditable true
+@DomName('Performance')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE)
@@ -16310,16 +17515,20 @@ class Performance extends EventTarget native "*Performance" {
/// Checks if this type is supported on the current platform.
static bool get supported => JS('bool', '!!(window.performance)');
- /// @domName Performance.memory; @docsEditable true
+ /// @docsEditable true
+ @DomName('Performance.memory')
final MemoryInfo memory;
- /// @domName Performance.navigation; @docsEditable true
+ /// @docsEditable true
+ @DomName('Performance.navigation')
final PerformanceNavigation navigation;
- /// @domName Performance.timing; @docsEditable true
+ /// @docsEditable true
+ @DomName('Performance.timing')
final PerformanceTiming timing;
- /// @domName Performance.now; @docsEditable true
+ /// @docsEditable true
+ @DomName('Performance.now')
num now() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16327,7 +17536,8 @@ class Performance extends EventTarget native "*Performance" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName PerformanceNavigation; @docsEditable true
+/// @docsEditable true
+@DomName('PerformanceNavigation')
class PerformanceNavigation native "*PerformanceNavigation" {
static const int TYPE_BACK_FORWARD = 2;
@@ -16338,10 +17548,12 @@ class PerformanceNavigation native "*PerformanceNavigation" {
static const int TYPE_RESERVED = 255;
- /// @domName PerformanceNavigation.redirectCount; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceNavigation.redirectCount')
final int redirectCount;
- /// @domName PerformanceNavigation.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceNavigation.type')
final int type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16349,70 +17561,92 @@ class PerformanceNavigation native "*PerformanceNavigation" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName PerformanceTiming; @docsEditable true
+/// @docsEditable true
+@DomName('PerformanceTiming')
class PerformanceTiming native "*PerformanceTiming" {
- /// @domName PerformanceTiming.connectEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.connectEnd')
final int connectEnd;
- /// @domName PerformanceTiming.connectStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.connectStart')
final int connectStart;
- /// @domName PerformanceTiming.domComplete; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.domComplete')
final int domComplete;
- /// @domName PerformanceTiming.domContentLoadedEventEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.domContentLoadedEventEnd')
final int domContentLoadedEventEnd;
- /// @domName PerformanceTiming.domContentLoadedEventStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.domContentLoadedEventStart')
final int domContentLoadedEventStart;
- /// @domName PerformanceTiming.domInteractive; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.domInteractive')
final int domInteractive;
- /// @domName PerformanceTiming.domLoading; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.domLoading')
final int domLoading;
- /// @domName PerformanceTiming.domainLookupEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.domainLookupEnd')
final int domainLookupEnd;
- /// @domName PerformanceTiming.domainLookupStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.domainLookupStart')
final int domainLookupStart;
- /// @domName PerformanceTiming.fetchStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.fetchStart')
final int fetchStart;
- /// @domName PerformanceTiming.loadEventEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.loadEventEnd')
final int loadEventEnd;
- /// @domName PerformanceTiming.loadEventStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.loadEventStart')
final int loadEventStart;
- /// @domName PerformanceTiming.navigationStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.navigationStart')
final int navigationStart;
- /// @domName PerformanceTiming.redirectEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.redirectEnd')
final int redirectEnd;
- /// @domName PerformanceTiming.redirectStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.redirectStart')
final int redirectStart;
- /// @domName PerformanceTiming.requestStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.requestStart')
final int requestStart;
- /// @domName PerformanceTiming.responseEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.responseEnd')
final int responseEnd;
- /// @domName PerformanceTiming.responseStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.responseStart')
final int responseStart;
- /// @domName PerformanceTiming.secureConnectionStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.secureConnectionStart')
final int secureConnectionStart;
- /// @domName PerformanceTiming.unloadEventEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.unloadEventEnd')
final int unloadEventEnd;
- /// @domName PerformanceTiming.unloadEventStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('PerformanceTiming.unloadEventStart')
final int unloadEventStart;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16420,17 +17654,20 @@ class PerformanceTiming native "*PerformanceTiming" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitPoint; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitPoint')
class Point native "*WebKitPoint" {
- ///@docsEditable true
+ /// @docsEditable true
factory Point(num x, num y) => Point._create(x, y);
static Point _create(num x, num y) => JS('Point', 'new WebKitPoint(#,#)', x, y);
- /// @domName WebKitPoint.x; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitPoint.x')
num x;
- /// @domName WebKitPoint.y; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitPoint.y')
num y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16438,13 +17675,14 @@ class Point native "*WebKitPoint" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName PopStateEvent; @docsEditable true
+/// @docsEditable true
+@DomName('PopStateEvent')
class PopStateEvent extends Event native "*PopStateEvent" {
- /// @domName PopStateEvent.state; @docsEditable true
+ /// @docsEditable true
dynamic get state => convertNativeToDart_SerializedScriptValue(this._state);
@JSName('state')
- @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue
+ @DomName('PopStateEvent.state') @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue
final dynamic _state;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16460,7 +17698,8 @@ typedef void PositionCallback(Geoposition position);
// BSD-style license that can be found in the LICENSE file.
-/// @domName PositionError; @docsEditable true
+/// @docsEditable true
+@DomName('PositionError')
class PositionError native "*PositionError" {
static const int PERMISSION_DENIED = 1;
@@ -16469,10 +17708,12 @@ class PositionError native "*PositionError" {
static const int TIMEOUT = 3;
- /// @domName PositionError.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('PositionError.code')
final int code;
- /// @domName PositionError.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('PositionError.message')
final String message;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16488,13 +17729,15 @@ typedef void PositionErrorCallback(PositionError error);
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLPreElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLPreElement')
class PreElement extends Element native "*HTMLPreElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory PreElement() => document.$dom_createElement("pre");
- /// @domName HTMLPreElement.wrap; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLPreElement.wrap')
bool wrap;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16502,16 +17745,20 @@ class PreElement extends Element native "*HTMLPreElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ProcessingInstruction; @docsEditable true
+/// @docsEditable true
+@DomName('ProcessingInstruction')
class ProcessingInstruction extends Node native "*ProcessingInstruction" {
- /// @domName ProcessingInstruction.data; @docsEditable true
+ /// @docsEditable true
+ @DomName('ProcessingInstruction.data')
String data;
- /// @domName ProcessingInstruction.sheet; @docsEditable true
+ /// @docsEditable true
+ @DomName('ProcessingInstruction.sheet')
final StyleSheet sheet;
- /// @domName ProcessingInstruction.target; @docsEditable true
+ /// @docsEditable true
+ @DomName('ProcessingInstruction.target')
final String target;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16519,30 +17766,35 @@ class ProcessingInstruction extends Node native "*ProcessingInstruction" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLProgressElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLProgressElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
class ProgressElement extends Element native "*HTMLProgressElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory ProgressElement() => document.$dom_createElement("progress");
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('progress');
- /// @domName HTMLProgressElement.labels; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLProgressElement.labels')
@Returns('NodeList') @Creates('NodeList')
final List<Node> labels;
- /// @domName HTMLProgressElement.max; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLProgressElement.max')
num max;
- /// @domName HTMLProgressElement.position; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLProgressElement.position')
final num position;
- /// @domName HTMLProgressElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLProgressElement.value')
num value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16550,16 +17802,20 @@ class ProgressElement extends Element native "*HTMLProgressElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ProgressEvent; @docsEditable true
+/// @docsEditable true
+@DomName('ProgressEvent')
class ProgressEvent extends Event native "*ProgressEvent" {
- /// @domName ProgressEvent.lengthComputable; @docsEditable true
+ /// @docsEditable true
+ @DomName('ProgressEvent.lengthComputable')
final bool lengthComputable;
- /// @domName ProgressEvent.loaded; @docsEditable true
+ /// @docsEditable true
+ @DomName('ProgressEvent.loaded')
final int loaded;
- /// @domName ProgressEvent.total; @docsEditable true
+ /// @docsEditable true
+ @DomName('ProgressEvent.total')
final int total;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16567,10 +17823,12 @@ class ProgressEvent extends Event native "*ProgressEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLQuoteElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLQuoteElement')
class QuoteElement extends Element native "*HTMLQuoteElement" {
- /// @domName HTMLQuoteElement.cite; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLQuoteElement.cite')
String cite;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16602,10 +17860,12 @@ typedef void RtcStatsCallback(RtcStatsResponse response);
// BSD-style license that can be found in the LICENSE file.
-/// @domName RadioNodeList; @docsEditable true
+/// @docsEditable true
+@DomName('RadioNodeList')
class RadioNodeList extends NodeList native "*RadioNodeList" {
- /// @domName RadioNodeList.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('RadioNodeList.value')
String value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16615,7 +17875,7 @@ class RadioNodeList extends NodeList native "*RadioNodeList" {
// WARNING: Do not edit - generated code.
-/// @domName Range
+@DomName('Range')
class Range native "*Range" {
factory Range() => document.$dom_createRange();
@@ -16636,98 +17896,129 @@ class Range native "*Range" {
static const int START_TO_START = 0;
- /// @domName Range.collapsed; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.collapsed')
final bool collapsed;
- /// @domName Range.commonAncestorContainer; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.commonAncestorContainer')
final Node commonAncestorContainer;
- /// @domName Range.endContainer; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.endContainer')
final Node endContainer;
- /// @domName Range.endOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.endOffset')
final int endOffset;
- /// @domName Range.startContainer; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.startContainer')
final Node startContainer;
- /// @domName Range.startOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.startOffset')
final int startOffset;
- /// @domName Range.cloneContents; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.cloneContents')
DocumentFragment cloneContents() native;
- /// @domName Range.cloneRange; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.cloneRange')
Range cloneRange() native;
- /// @domName Range.collapse; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.collapse')
void collapse(bool toStart) native;
- /// @domName Range.compareNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.compareNode')
int compareNode(Node refNode) native;
- /// @domName Range.comparePoint; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.comparePoint')
int comparePoint(Node refNode, int offset) native;
- /// @domName Range.createContextualFragment; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.createContextualFragment')
DocumentFragment createContextualFragment(String html) native;
- /// @domName Range.deleteContents; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.deleteContents')
void deleteContents() native;
- /// @domName Range.detach; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.detach')
void detach() native;
- /// @domName Range.expand; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.expand')
void expand(String unit) native;
- /// @domName Range.extractContents; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.extractContents')
DocumentFragment extractContents() native;
- /// @domName Range.getBoundingClientRect; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.getBoundingClientRect')
ClientRect getBoundingClientRect() native;
- /// @domName Range.getClientRects; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.getClientRects')
@Returns('_ClientRectList') @Creates('_ClientRectList')
List<ClientRect> getClientRects() native;
- /// @domName Range.insertNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.insertNode')
void insertNode(Node newNode) native;
- /// @domName Range.intersectsNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.intersectsNode')
bool intersectsNode(Node refNode) native;
- /// @domName Range.isPointInRange; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.isPointInRange')
bool isPointInRange(Node refNode, int offset) native;
- /// @domName Range.selectNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.selectNode')
void selectNode(Node refNode) native;
- /// @domName Range.selectNodeContents; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.selectNodeContents')
void selectNodeContents(Node refNode) native;
- /// @domName Range.setEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.setEnd')
void setEnd(Node refNode, int offset) native;
- /// @domName Range.setEndAfter; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.setEndAfter')
void setEndAfter(Node refNode) native;
- /// @domName Range.setEndBefore; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.setEndBefore')
void setEndBefore(Node refNode) native;
- /// @domName Range.setStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.setStart')
void setStart(Node refNode, int offset) native;
- /// @domName Range.setStartAfter; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.setStartAfter')
void setStartAfter(Node refNode) native;
- /// @domName Range.setStartBefore; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.setStartBefore')
void setStartBefore(Node refNode) native;
- /// @domName Range.surroundContents; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.surroundContents')
void surroundContents(Node newParent) native;
- /// @domName Range.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('Range.toString')
String toString() native;
}
@@ -16736,23 +18027,28 @@ class Range native "*Range" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RangeException; @docsEditable true
+/// @docsEditable true
+@DomName('RangeException')
class RangeException native "*RangeException" {
static const int BAD_BOUNDARYPOINTS_ERR = 1;
static const int INVALID_NODE_TYPE_ERR = 2;
- /// @domName RangeException.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('RangeException.code')
final int code;
- /// @domName RangeException.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('RangeException.message')
final String message;
- /// @domName RangeException.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('RangeException.name')
final String name;
- /// @domName RangeException.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('RangeException.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16760,19 +18056,24 @@ class RangeException native "*RangeException" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Rect; @docsEditable true
+/// @docsEditable true
+@DomName('Rect')
class Rect native "*Rect" {
- /// @domName Rect.bottom; @docsEditable true
+ /// @docsEditable true
+ @DomName('Rect.bottom')
final CssPrimitiveValue bottom;
- /// @domName Rect.left; @docsEditable true
+ /// @docsEditable true
+ @DomName('Rect.left')
final CssPrimitiveValue left;
- /// @domName Rect.right; @docsEditable true
+ /// @docsEditable true
+ @DomName('Rect.right')
final CssPrimitiveValue right;
- /// @domName Rect.top; @docsEditable true
+ /// @docsEditable true
+ @DomName('Rect.top')
final CssPrimitiveValue top;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16788,16 +18089,20 @@ typedef void RequestAnimationFrameCallback(num highResTime);
// BSD-style license that can be found in the LICENSE file.
-/// @domName RGBColor; @docsEditable true
+/// @docsEditable true
+@DomName('RGBColor')
class RgbColor native "*RGBColor" {
- /// @domName RGBColor.blue; @docsEditable true
+ /// @docsEditable true
+ @DomName('RGBColor.blue')
final CssPrimitiveValue blue;
- /// @domName RGBColor.green; @docsEditable true
+ /// @docsEditable true
+ @DomName('RGBColor.green')
final CssPrimitiveValue green;
- /// @domName RGBColor.red; @docsEditable true
+ /// @docsEditable true
+ @DomName('RGBColor.red')
final CssPrimitiveValue red;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16805,7 +18110,8 @@ class RgbColor native "*RGBColor" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCDataChannel; @docsEditable true
+/// @docsEditable true
+@DomName('RTCDataChannel')
class RtcDataChannel extends EventTarget native "*RTCDataChannel" {
static const EventStreamProvider<Event> closeEvent = const EventStreamProvider<Event>('close');
@@ -16816,41 +18122,52 @@ class RtcDataChannel extends EventTarget native "*RTCDataChannel" {
static const EventStreamProvider<Event> openEvent = const EventStreamProvider<Event>('open');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
RtcDataChannelEvents get on =>
new RtcDataChannelEvents(this);
- /// @domName RTCDataChannel.binaryType; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCDataChannel.binaryType')
String binaryType;
- /// @domName RTCDataChannel.bufferedAmount; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCDataChannel.bufferedAmount')
final int bufferedAmount;
- /// @domName RTCDataChannel.label; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCDataChannel.label')
final String label;
- /// @domName RTCDataChannel.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCDataChannel.readyState')
final String readyState;
- /// @domName RTCDataChannel.reliable; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCDataChannel.reliable')
final bool reliable;
- /// @domName RTCDataChannel.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('RTCDataChannel.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName RTCDataChannel.close; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCDataChannel.close')
void close() native;
- /// @domName RTCDataChannel.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('RTCDataChannel.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName RTCDataChannel.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('RTCDataChannel.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName RTCDataChannel.send; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCDataChannel.send')
void send(data) native;
Stream<Event> get onClose => closeEvent.forTarget(this);
@@ -16884,10 +18201,12 @@ class RtcDataChannelEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCDataChannelEvent; @docsEditable true
+/// @docsEditable true
+@DomName('RTCDataChannelEvent')
class RtcDataChannelEvent extends Event native "*RTCDataChannelEvent" {
- /// @domName RTCDataChannelEvent.channel; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCDataChannelEvent.channel')
final RtcDataChannel channel;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16895,20 +18214,24 @@ class RtcDataChannelEvent extends Event native "*RTCDataChannelEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCIceCandidate; @docsEditable true
+/// @docsEditable true
+@DomName('RTCIceCandidate')
class RtcIceCandidate native "*RTCIceCandidate" {
- ///@docsEditable true
+ /// @docsEditable true
factory RtcIceCandidate(Map dictionary) => RtcIceCandidate._create(dictionary);
static RtcIceCandidate _create(Map dictionary) => JS('RtcIceCandidate', 'new RTCIceCandidate(#)', dictionary);
- /// @domName RTCIceCandidate.candidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCIceCandidate.candidate')
final String candidate;
- /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCIceCandidate.sdpMLineIndex')
final int sdpMLineIndex;
- /// @domName RTCIceCandidate.sdpMid; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCIceCandidate.sdpMid')
final String sdpMid;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16916,10 +18239,12 @@ class RtcIceCandidate native "*RTCIceCandidate" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCIceCandidateEvent; @docsEditable true
+/// @docsEditable true
+@DomName('RTCIceCandidateEvent')
class RtcIceCandidateEvent extends Event native "*RTCIceCandidateEvent" {
- /// @domName RTCIceCandidateEvent.candidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCIceCandidateEvent.candidate')
final RtcIceCandidate candidate;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -16927,7 +18252,8 @@ class RtcIceCandidateEvent extends Event native "*RTCIceCandidateEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCPeerConnection; @docsEditable true
+/// @docsEditable true
+@DomName('RTCPeerConnection')
class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
static const EventStreamProvider<MediaStreamEvent> addStreamEvent = const EventStreamProvider<MediaStreamEvent>('addstream');
@@ -16946,7 +18272,7 @@ class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
static const EventStreamProvider<Event> stateChangeEvent = const EventStreamProvider<Event>('statechange');
- ///@docsEditable true
+ /// @docsEditable true
factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
if (!?mediaConstraints) {
return RtcPeerConnection._create(rtcIceServers);
@@ -16960,41 +18286,51 @@ class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
return JS('RtcPeerConnection', 'new RTCPeerConnection(#,#)', rtcIceServers, mediaConstraints);
}
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
RtcPeerConnectionEvents get on =>
new RtcPeerConnectionEvents(this);
- /// @domName RTCPeerConnection.iceGatheringState; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.iceGatheringState')
final String iceGatheringState;
- /// @domName RTCPeerConnection.iceState; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.iceState')
final String iceState;
- /// @domName RTCPeerConnection.localDescription; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.localDescription')
final RtcSessionDescription localDescription;
- /// @domName RTCPeerConnection.localStreams; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.localStreams')
@Returns('_MediaStreamList') @Creates('_MediaStreamList')
final List<MediaStream> localStreams;
- /// @domName RTCPeerConnection.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.readyState')
final String readyState;
- /// @domName RTCPeerConnection.remoteDescription; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.remoteDescription')
final RtcSessionDescription remoteDescription;
- /// @domName RTCPeerConnection.remoteStreams; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.remoteStreams')
@Returns('_MediaStreamList') @Creates('_MediaStreamList')
final List<MediaStream> remoteStreams;
- /// @domName RTCPeerConnection.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('RTCPeerConnection.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName RTCPeerConnection.addIceCandidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.addIceCandidate')
void addIceCandidate(RtcIceCandidate candidate) native;
- /// @domName RTCPeerConnection.addStream; @docsEditable true
+ /// @docsEditable true
void addStream(MediaStream stream, [Map mediaConstraints]) {
if (?mediaConstraints) {
var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
@@ -17005,14 +18341,17 @@ class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
return;
}
@JSName('addStream')
+ @DomName('RTCPeerConnection.addStream')
void _addStream_1(MediaStream stream, mediaConstraints) native;
@JSName('addStream')
+ @DomName('RTCPeerConnection.addStream')
void _addStream_2(MediaStream stream) native;
- /// @domName RTCPeerConnection.close; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.close')
void close() native;
- /// @domName RTCPeerConnection.createAnswer; @docsEditable true
+ /// @docsEditable true
void createAnswer(RtcSessionDescriptionCallback successCallback, [RtcErrorCallback failureCallback, Map mediaConstraints]) {
if (?mediaConstraints) {
var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
@@ -17023,11 +18362,13 @@ class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
return;
}
@JSName('createAnswer')
+ @DomName('RTCPeerConnection.createAnswer')
void _createAnswer_1(RtcSessionDescriptionCallback successCallback, RtcErrorCallback failureCallback, mediaConstraints) native;
@JSName('createAnswer')
+ @DomName('RTCPeerConnection.createAnswer')
void _createAnswer_2(RtcSessionDescriptionCallback successCallback, RtcErrorCallback failureCallback) native;
- /// @domName RTCPeerConnection.createDataChannel; @docsEditable true
+ /// @docsEditable true
RtcDataChannel createDataChannel(String label, [Map options]) {
if (?options) {
var options_1 = convertDartToNative_Dictionary(options);
@@ -17036,11 +18377,13 @@ class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
return _createDataChannel_2(label);
}
@JSName('createDataChannel')
+ @DomName('RTCPeerConnection.createDataChannel')
RtcDataChannel _createDataChannel_1(label, options) native;
@JSName('createDataChannel')
+ @DomName('RTCPeerConnection.createDataChannel')
RtcDataChannel _createDataChannel_2(label) native;
- /// @domName RTCPeerConnection.createOffer; @docsEditable true
+ /// @docsEditable true
void createOffer(RtcSessionDescriptionCallback successCallback, [RtcErrorCallback failureCallback, Map mediaConstraints]) {
if (?mediaConstraints) {
var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
@@ -17051,31 +18394,39 @@ class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
return;
}
@JSName('createOffer')
+ @DomName('RTCPeerConnection.createOffer')
void _createOffer_1(RtcSessionDescriptionCallback successCallback, RtcErrorCallback failureCallback, mediaConstraints) native;
@JSName('createOffer')
+ @DomName('RTCPeerConnection.createOffer')
void _createOffer_2(RtcSessionDescriptionCallback successCallback, RtcErrorCallback failureCallback) native;
- /// @domName RTCPeerConnection.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('RTCPeerConnection.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName RTCPeerConnection.getStats; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.getStats')
void getStats(RtcStatsCallback successCallback, MediaStreamTrack selector) native;
- /// @domName RTCPeerConnection.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('RTCPeerConnection.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName RTCPeerConnection.removeStream; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.removeStream')
void removeStream(MediaStream stream) native;
- /// @domName RTCPeerConnection.setLocalDescription; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.setLocalDescription')
void setLocalDescription(RtcSessionDescription description, [VoidCallback successCallback, RtcErrorCallback failureCallback]) native;
- /// @domName RTCPeerConnection.setRemoteDescription; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCPeerConnection.setRemoteDescription')
void setRemoteDescription(RtcSessionDescription description, [VoidCallback successCallback, RtcErrorCallback failureCallback]) native;
- /// @domName RTCPeerConnection.updateIce; @docsEditable true
+ /// @docsEditable true
void updateIce([Map configuration, Map mediaConstraints]) {
if (?mediaConstraints) {
var configuration_1 = convertDartToNative_Dictionary(configuration);
@@ -17092,10 +18443,13 @@ class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
return;
}
@JSName('updateIce')
+ @DomName('RTCPeerConnection.updateIce')
void _updateIce_1(configuration, mediaConstraints) native;
@JSName('updateIce')
+ @DomName('RTCPeerConnection.updateIce')
void _updateIce_2(configuration) native;
@JSName('updateIce')
+ @DomName('RTCPeerConnection.updateIce')
void _updateIce_3() native;
Stream<MediaStreamEvent> get onAddStream => addStreamEvent.forTarget(this);
@@ -17146,17 +18500,20 @@ class RtcPeerConnectionEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCSessionDescription; @docsEditable true
+/// @docsEditable true
+@DomName('RTCSessionDescription')
class RtcSessionDescription native "*RTCSessionDescription" {
- ///@docsEditable true
+ /// @docsEditable true
factory RtcSessionDescription(Map dictionary) => RtcSessionDescription._create(dictionary);
static RtcSessionDescription _create(Map dictionary) => JS('RtcSessionDescription', 'new RTCSessionDescription(#)', dictionary);
- /// @domName RTCSessionDescription.sdp; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCSessionDescription.sdp')
String sdp;
- /// @domName RTCSessionDescription.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCSessionDescription.type')
String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17164,16 +18521,20 @@ class RtcSessionDescription native "*RTCSessionDescription" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCStatsElement; @docsEditable true
+/// @docsEditable true
+@DomName('RTCStatsElement')
class RtcStatsElement native "*RTCStatsElement" {
- /// @domName RTCStatsElement.timestamp; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCStatsElement.timestamp')
final Date timestamp;
- /// @domName RTCStatsElement.names; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCStatsElement.names')
List<String> names() native;
- /// @domName RTCStatsElement.stat; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCStatsElement.stat')
String stat(String name) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17181,13 +18542,16 @@ class RtcStatsElement native "*RTCStatsElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCStatsReport; @docsEditable true
+/// @docsEditable true
+@DomName('RTCStatsReport')
class RtcStatsReport native "*RTCStatsReport" {
- /// @domName RTCStatsReport.local; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCStatsReport.local')
final RtcStatsElement local;
- /// @domName RTCStatsReport.remote; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCStatsReport.remote')
final RtcStatsElement remote;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17195,10 +18559,12 @@ class RtcStatsReport native "*RTCStatsReport" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName RTCStatsResponse; @docsEditable true
+/// @docsEditable true
+@DomName('RTCStatsResponse')
class RtcStatsResponse native "*RTCStatsResponse" {
- /// @domName RTCStatsResponse.result; @docsEditable true
+ /// @docsEditable true
+ @DomName('RTCStatsResponse.result')
List<RtcStatsReport> result() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17246,31 +18612,40 @@ typedef void SqlTransactionSyncCallback(SqlTransactionSync transaction);
// BSD-style license that can be found in the LICENSE file.
-/// @domName Screen; @docsEditable true
+/// @docsEditable true
+@DomName('Screen')
class Screen native "*Screen" {
- /// @domName Screen.availHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('Screen.availHeight')
final int availHeight;
- /// @domName Screen.availLeft; @docsEditable true
+ /// @docsEditable true
+ @DomName('Screen.availLeft')
final int availLeft;
- /// @domName Screen.availTop; @docsEditable true
+ /// @docsEditable true
+ @DomName('Screen.availTop')
final int availTop;
- /// @domName Screen.availWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('Screen.availWidth')
final int availWidth;
- /// @domName Screen.colorDepth; @docsEditable true
+ /// @docsEditable true
+ @DomName('Screen.colorDepth')
final int colorDepth;
- /// @domName Screen.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('Screen.height')
final int height;
- /// @domName Screen.pixelDepth; @docsEditable true
+ /// @docsEditable true
+ @DomName('Screen.pixelDepth')
final int pixelDepth;
- /// @domName Screen.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('Screen.width')
final int width;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17278,34 +18653,43 @@ class Screen native "*Screen" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLScriptElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLScriptElement')
class ScriptElement extends Element native "*HTMLScriptElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory ScriptElement() => document.$dom_createElement("script");
- /// @domName HTMLScriptElement.async; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLScriptElement.async')
bool async;
- /// @domName HTMLScriptElement.charset; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLScriptElement.charset')
String charset;
- /// @domName HTMLScriptElement.crossOrigin; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLScriptElement.crossOrigin')
String crossOrigin;
- /// @domName HTMLScriptElement.defer; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLScriptElement.defer')
bool defer;
- /// @domName HTMLScriptElement.event; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLScriptElement.event')
String event;
- /// @domName HTMLScriptElement.htmlFor; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLScriptElement.htmlFor')
String htmlFor;
- /// @domName HTMLScriptElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLScriptElement.src')
String src;
- /// @domName HTMLScriptElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLScriptElement.type')
String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17313,16 +18697,20 @@ class ScriptElement extends Element native "*HTMLScriptElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ScriptProfile; @docsEditable true
+/// @docsEditable true
+@DomName('ScriptProfile')
class ScriptProfile native "*ScriptProfile" {
- /// @domName ScriptProfile.head; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfile.head')
final ScriptProfileNode head;
- /// @domName ScriptProfile.title; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfile.title')
final String title;
- /// @domName ScriptProfile.uid; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfile.uid')
final int uid;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17330,35 +18718,45 @@ class ScriptProfile native "*ScriptProfile" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ScriptProfileNode; @docsEditable true
+/// @docsEditable true
+@DomName('ScriptProfileNode')
class ScriptProfileNode native "*ScriptProfileNode" {
- /// @domName ScriptProfileNode.callUID; @docsEditable true
+ /// @docsEditable true
@JSName('callUID')
+ @DomName('ScriptProfileNode.callUID')
final int callUid;
- /// @domName ScriptProfileNode.functionName; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfileNode.functionName')
final String functionName;
- /// @domName ScriptProfileNode.lineNumber; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfileNode.lineNumber')
final int lineNumber;
- /// @domName ScriptProfileNode.numberOfCalls; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfileNode.numberOfCalls')
final int numberOfCalls;
- /// @domName ScriptProfileNode.selfTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfileNode.selfTime')
final num selfTime;
- /// @domName ScriptProfileNode.totalTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfileNode.totalTime')
final num totalTime;
- /// @domName ScriptProfileNode.url; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfileNode.url')
final String url;
- /// @domName ScriptProfileNode.visible; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfileNode.visible')
final bool visible;
- /// @domName ScriptProfileNode.children; @docsEditable true
+ /// @docsEditable true
+ @DomName('ScriptProfileNode.children')
List<ScriptProfileNode> children() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17366,68 +18764,87 @@ class ScriptProfileNode native "*ScriptProfileNode" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLSelectElement
+@DomName('HTMLSelectElement')
class SelectElement extends Element native "*HTMLSelectElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory SelectElement() => document.$dom_createElement("select");
- /// @domName HTMLSelectElement.autofocus; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.autofocus')
bool autofocus;
- /// @domName HTMLSelectElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.disabled')
bool disabled;
- /// @domName HTMLSelectElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.form')
final FormElement form;
- /// @domName HTMLSelectElement.labels; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.labels')
@Returns('NodeList') @Creates('NodeList')
final List<Node> labels;
- /// @domName HTMLSelectElement.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.length')
int length;
- /// @domName HTMLSelectElement.multiple; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.multiple')
bool multiple;
- /// @domName HTMLSelectElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.name')
String name;
- /// @domName HTMLSelectElement.required; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.required')
bool required;
- /// @domName HTMLSelectElement.selectedIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.selectedIndex')
int selectedIndex;
- /// @domName HTMLSelectElement.size; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.size')
int size;
- /// @domName HTMLSelectElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.type')
final String type;
- /// @domName HTMLSelectElement.validationMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.validationMessage')
final String validationMessage;
- /// @domName HTMLSelectElement.validity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.validity')
final ValidityState validity;
- /// @domName HTMLSelectElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.value')
String value;
- /// @domName HTMLSelectElement.willValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.willValidate')
final bool willValidate;
- /// @domName HTMLSelectElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLSelectElement.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.item')
Node item(int index) native;
- /// @domName HTMLSelectElement.namedItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.namedItem')
Node namedItem(String name) native;
- /// @domName HTMLSelectElement.setCustomValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSelectElement.setCustomValidity')
void setCustomValidity(String error) native;
@@ -17453,7 +18870,8 @@ class SelectElement extends Element native "*HTMLSelectElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLShadowElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLShadowElement')
@SupportedBrowser(SupportedBrowser.CHROME, '25')
@Experimental()
class ShadowElement extends Element native "*HTMLShadowElement" {
@@ -17461,10 +18879,12 @@ class ShadowElement extends Element native "*HTMLShadowElement" {
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('shadow');
- /// @domName HTMLShadowElement.olderShadowRoot; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLShadowElement.olderShadowRoot')
final ShadowRoot olderShadowRoot;
- /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLShadowElement.resetStyleInheritance')
bool resetStyleInheritance;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17474,43 +18894,52 @@ class ShadowElement extends Element native "*HTMLShadowElement" {
// WARNING: Do not edit - generated code.
-/// @domName ShadowRoot
+@DomName('ShadowRoot')
@SupportedBrowser(SupportedBrowser.CHROME, '25')
@Experimental()
class ShadowRoot extends DocumentFragment native "*ShadowRoot" {
- /// @domName ShadowRoot.activeElement; @docsEditable true
+ /// @docsEditable true
+ @DomName('ShadowRoot.activeElement')
final Element activeElement;
- /// @domName ShadowRoot.applyAuthorStyles; @docsEditable true
+ /// @docsEditable true
+ @DomName('ShadowRoot.applyAuthorStyles')
bool applyAuthorStyles;
- /// @domName ShadowRoot.innerHTML; @docsEditable true
+ /// @docsEditable true
@JSName('innerHTML')
+ @DomName('ShadowRoot.innerHTML')
String innerHtml;
- /// @domName ShadowRoot.resetStyleInheritance; @docsEditable true
+ /// @docsEditable true
+ @DomName('ShadowRoot.resetStyleInheritance')
bool resetStyleInheritance;
- /// @domName ShadowRoot.cloneNode; @docsEditable true
+ /// @docsEditable true
@JSName('cloneNode')
+ @DomName('ShadowRoot.cloneNode')
Node clone(bool deep) native;
- /// @domName ShadowRoot.getElementById; @docsEditable true
+ /// @docsEditable true
@JSName('getElementById')
+ @DomName('ShadowRoot.getElementById')
Element $dom_getElementById(String elementId) native;
- /// @domName ShadowRoot.getElementsByClassName; @docsEditable true
+ /// @docsEditable true
@JSName('getElementsByClassName')
+ @DomName('ShadowRoot.getElementsByClassName')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_getElementsByClassName(String className) native;
- /// @domName ShadowRoot.getElementsByTagName; @docsEditable true
+ /// @docsEditable true
@JSName('getElementsByTagName')
+ @DomName('ShadowRoot.getElementsByTagName')
@Returns('NodeList') @Creates('NodeList')
List<Node> $dom_getElementsByTagName(String tagName) native;
- /// @domName ShadowRoot.getSelection; @docsEditable true
+ /// @docsEditable true
+ @DomName('ShadowRoot.getSelection')
DomSelection getSelection() native;
static bool get supported =>
@@ -17521,10 +18950,11 @@ class ShadowRoot extends DocumentFragment native "*ShadowRoot" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SharedWorker; @docsEditable true
+/// @docsEditable true
+@DomName('SharedWorker')
class SharedWorker extends AbstractWorker native "*SharedWorker" {
- ///@docsEditable true
+ /// @docsEditable true
factory SharedWorker(String scriptURL, [String name]) {
if (!?name) {
return SharedWorker._create(scriptURL);
@@ -17538,7 +18968,8 @@ class SharedWorker extends AbstractWorker native "*SharedWorker" {
return JS('SharedWorker', 'new SharedWorker(#,#)', scriptURL, name);
}
- /// @domName SharedWorker.port; @docsEditable true
+ /// @docsEditable true
+ @DomName('SharedWorker.port')
final MessagePort port;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17546,16 +18977,19 @@ class SharedWorker extends AbstractWorker native "*SharedWorker" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SharedWorkerContext; @docsEditable true
+/// @docsEditable true
+@DomName('SharedWorkerContext')
class SharedWorkerContext extends WorkerContext native "*SharedWorkerContext" {
static const EventStreamProvider<Event> connectEvent = const EventStreamProvider<Event>('connect');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
SharedWorkerContextEvents get on =>
new SharedWorkerContextEvents(this);
- /// @domName SharedWorkerContext.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('SharedWorkerContext.name')
final String name;
Stream<Event> get onConnect => connectEvent.forTarget(this);
@@ -17574,19 +19008,24 @@ class SharedWorkerContextEvents extends WorkerContextEvents {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SourceBuffer; @docsEditable true
+/// @docsEditable true
+@DomName('SourceBuffer')
class SourceBuffer native "*SourceBuffer" {
- /// @domName SourceBuffer.buffered; @docsEditable true
+ /// @docsEditable true
+ @DomName('SourceBuffer.buffered')
final TimeRanges buffered;
- /// @domName SourceBuffer.timestampOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('SourceBuffer.timestampOffset')
num timestampOffset;
- /// @domName SourceBuffer.abort; @docsEditable true
+ /// @docsEditable true
+ @DomName('SourceBuffer.abort')
void abort() native;
- /// @domName SourceBuffer.append; @docsEditable true
+ /// @docsEditable true
+ @DomName('SourceBuffer.append')
void append(Uint8Array data) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17594,10 +19033,12 @@ class SourceBuffer native "*SourceBuffer" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SourceBufferList; @docsEditable true
+/// @docsEditable true
+@DomName('SourceBufferList')
class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior, List<SourceBuffer> native "*SourceBufferList" {
- /// @domName SourceBufferList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('SourceBufferList.length')
int get length => JS("int", "#.length", this);
SourceBuffer operator[](int index) => JS("SourceBuffer", "#[#]", this, index);
@@ -17745,19 +19186,23 @@ class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
// -- end List<SourceBuffer> mixins.
- /// @domName SourceBufferList.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('SourceBufferList.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName SourceBufferList.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('SourceBufferList.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName SourceBufferList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('SourceBufferList.item')
SourceBuffer item(int index) native;
- /// @domName SourceBufferList.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('SourceBufferList.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17765,19 +19210,23 @@ class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLSourceElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLSourceElement')
class SourceElement extends Element native "*HTMLSourceElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory SourceElement() => document.$dom_createElement("source");
- /// @domName HTMLSourceElement.media; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSourceElement.media')
String media;
- /// @domName HTMLSourceElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSourceElement.src')
String src;
- /// @domName HTMLSourceElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLSourceElement.type')
String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17785,10 +19234,11 @@ class SourceElement extends Element native "*HTMLSourceElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLSpanElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLSpanElement')
class SpanElement extends Element native "*HTMLSpanElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory SpanElement() => document.$dom_createElement("span");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17796,17 +19246,20 @@ class SpanElement extends Element native "*HTMLSpanElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechGrammar; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechGrammar')
class SpeechGrammar native "*SpeechGrammar" {
- ///@docsEditable true
+ /// @docsEditable true
factory SpeechGrammar() => SpeechGrammar._create();
static SpeechGrammar _create() => JS('SpeechGrammar', 'new SpeechGrammar()');
- /// @domName SpeechGrammar.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechGrammar.src')
String src;
- /// @domName SpeechGrammar.weight; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechGrammar.weight')
num weight;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17814,14 +19267,16 @@ class SpeechGrammar native "*SpeechGrammar" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechGrammarList; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechGrammarList')
class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGrammar> native "*SpeechGrammarList" {
- ///@docsEditable true
+ /// @docsEditable true
factory SpeechGrammarList() => SpeechGrammarList._create();
static SpeechGrammarList _create() => JS('SpeechGrammarList', 'new SpeechGrammarList()');
- /// @domName SpeechGrammarList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechGrammarList.length')
int get length => JS("int", "#.length", this);
SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index);
@@ -17969,13 +19424,16 @@ class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
// -- end List<SpeechGrammar> mixins.
- /// @domName SpeechGrammarList.addFromString; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechGrammarList.addFromString')
void addFromString(String string, [num weight]) native;
- /// @domName SpeechGrammarList.addFromUri; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechGrammarList.addFromUri')
void addFromUri(String src, [num weight]) native;
- /// @domName SpeechGrammarList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechGrammarList.item')
SpeechGrammar item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -17983,10 +19441,12 @@ class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechInputEvent; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechInputEvent')
class SpeechInputEvent extends Event native "*SpeechInputEvent" {
- /// @domName SpeechInputEvent.results; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechInputEvent.results')
@Returns('_SpeechInputResultList') @Creates('_SpeechInputResultList')
final List<SpeechInputResult> results;
}
@@ -17995,13 +19455,16 @@ class SpeechInputEvent extends Event native "*SpeechInputEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechInputResult; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechInputResult')
class SpeechInputResult native "*SpeechInputResult" {
- /// @domName SpeechInputResult.confidence; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechInputResult.confidence')
final num confidence;
- /// @domName SpeechInputResult.utterance; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechInputResult.utterance')
final String utterance;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18009,7 +19472,8 @@ class SpeechInputResult native "*SpeechInputResult" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechRecognition; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechRecognition')
class SpeechRecognition extends EventTarget native "*SpeechRecognition" {
static const EventStreamProvider<Event> audioEndEvent = const EventStreamProvider<Event>('audioend');
@@ -18034,48 +19498,60 @@ class SpeechRecognition extends EventTarget native "*SpeechRecognition" {
static const EventStreamProvider<Event> startEvent = const EventStreamProvider<Event>('start');
- ///@docsEditable true
+ /// @docsEditable true
factory SpeechRecognition() => SpeechRecognition._create();
static SpeechRecognition _create() => JS('SpeechRecognition', 'new SpeechRecognition()');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
SpeechRecognitionEvents get on =>
new SpeechRecognitionEvents(this);
- /// @domName SpeechRecognition.continuous; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognition.continuous')
bool continuous;
- /// @domName SpeechRecognition.grammars; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognition.grammars')
SpeechGrammarList grammars;
- /// @domName SpeechRecognition.interimResults; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognition.interimResults')
bool interimResults;
- /// @domName SpeechRecognition.lang; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognition.lang')
String lang;
- /// @domName SpeechRecognition.maxAlternatives; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognition.maxAlternatives')
int maxAlternatives;
- /// @domName SpeechRecognition.abort; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognition.abort')
void abort() native;
- /// @domName SpeechRecognition.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('SpeechRecognition.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName SpeechRecognition.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('SpeechRecognition.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName SpeechRecognition.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('SpeechRecognition.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName SpeechRecognition.start; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognition.start')
void start() native;
- /// @domName SpeechRecognition.stop; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognition.stop')
void stop() native;
Stream<Event> get onAudioEnd => audioEndEvent.forTarget(this);
@@ -18144,13 +19620,16 @@ class SpeechRecognitionEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechRecognitionAlternative; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechRecognitionAlternative')
class SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" {
- /// @domName SpeechRecognitionAlternative.confidence; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionAlternative.confidence')
final num confidence;
- /// @domName SpeechRecognitionAlternative.transcript; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionAlternative.transcript')
final String transcript;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18158,13 +19637,16 @@ class SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechRecognitionError; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechRecognitionError')
class SpeechRecognitionError extends Event native "*SpeechRecognitionError" {
- /// @domName SpeechRecognitionError.error; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionError.error')
final String error;
- /// @domName SpeechRecognitionError.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionError.message')
final String message;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18172,20 +19654,25 @@ class SpeechRecognitionError extends Event native "*SpeechRecognitionError" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechRecognitionEvent; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechRecognitionEvent')
class SpeechRecognitionEvent extends Event native "*SpeechRecognitionEvent" {
- /// @domName SpeechRecognitionEvent.result; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionEvent.result')
final SpeechRecognitionResult result;
- /// @domName SpeechRecognitionEvent.resultHistory; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionEvent.resultHistory')
@Returns('_SpeechRecognitionResultList') @Creates('_SpeechRecognitionResultList')
final List<SpeechRecognitionResult> resultHistory;
- /// @domName SpeechRecognitionEvent.resultIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionEvent.resultIndex')
final int resultIndex;
- /// @domName SpeechRecognitionEvent.results; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionEvent.results')
@Returns('_SpeechRecognitionResultList') @Creates('_SpeechRecognitionResultList')
final List<SpeechRecognitionResult> results;
}
@@ -18194,16 +19681,20 @@ class SpeechRecognitionEvent extends Event native "*SpeechRecognitionEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechRecognitionResult; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechRecognitionResult')
class SpeechRecognitionResult native "*SpeechRecognitionResult" {
- /// @domName SpeechRecognitionResult.isFinal; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionResult.isFinal')
final bool isFinal;
- /// @domName SpeechRecognitionResult.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionResult.length')
final int length;
- /// @domName SpeechRecognitionResult.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionResult.item')
SpeechRecognitionAlternative item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18211,7 +19702,8 @@ class SpeechRecognitionResult native "*SpeechRecognitionResult" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SQLError; @docsEditable true
+/// @docsEditable true
+@DomName('SQLError')
class SqlError native "*SQLError" {
static const int CONSTRAINT_ERR = 6;
@@ -18230,10 +19722,12 @@ class SqlError native "*SQLError" {
static const int VERSION_ERR = 2;
- /// @domName SQLError.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLError.code')
final int code;
- /// @domName SQLError.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLError.message')
final String message;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18241,7 +19735,8 @@ class SqlError native "*SQLError" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SQLException; @docsEditable true
+/// @docsEditable true
+@DomName('SQLException')
class SqlException native "*SQLException" {
static const int CONSTRAINT_ERR = 6;
@@ -18260,10 +19755,12 @@ class SqlException native "*SQLException" {
static const int VERSION_ERR = 2;
- /// @domName SQLException.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLException.code')
final int code;
- /// @domName SQLException.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLException.message')
final String message;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18271,16 +19768,20 @@ class SqlException native "*SQLException" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SQLResultSet; @docsEditable true
+/// @docsEditable true
+@DomName('SQLResultSet')
class SqlResultSet native "*SQLResultSet" {
- /// @domName SQLResultSet.insertId; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLResultSet.insertId')
final int insertId;
- /// @domName SQLResultSet.rows; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLResultSet.rows')
final SqlResultSetRowList rows;
- /// @domName SQLResultSet.rowsAffected; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLResultSet.rowsAffected')
final int rowsAffected;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18288,10 +19789,12 @@ class SqlResultSet native "*SQLResultSet" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SQLResultSetRowList; @docsEditable true
+/// @docsEditable true
+@DomName('SQLResultSetRowList')
class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> native "*SQLResultSetRowList" {
- /// @domName SQLResultSetRowList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLResultSetRowList.length')
int get length => JS("int", "#.length", this);
Map operator[](int index) => JS("Map", "#[#]", this, index);
@@ -18439,12 +19942,12 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
// -- end List<Map> mixins.
- /// @domName SQLResultSetRowList.item; @docsEditable true
+ /// @docsEditable true
Map item(int index) {
return convertNativeToDart_Dictionary(_item_1(index));
}
@JSName('item')
- @Creates('=Object')
+ @DomName('SQLResultSetRowList.item') @Creates('=Object')
_item_1(index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18452,10 +19955,12 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
// BSD-style license that can be found in the LICENSE file.
-/// @domName SQLTransaction; @docsEditable true
+/// @docsEditable true
+@DomName('SQLTransaction')
class SqlTransaction native "*SQLTransaction" {
- /// @domName SQLTransaction.executeSql; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLTransaction.executeSql')
void executeSql(String sqlStatement, List arguments, [SqlStatementCallback callback, SqlStatementErrorCallback errorCallback]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18463,10 +19968,12 @@ class SqlTransaction native "*SQLTransaction" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName SQLTransactionSync; @docsEditable true
+/// @docsEditable true
+@DomName('SQLTransactionSync')
class SqlTransactionSync native "*SQLTransactionSync" {
- /// @domName SQLTransactionSync.executeSql; @docsEditable true
+ /// @docsEditable true
+ @DomName('SQLTransactionSync.executeSql')
SqlResultSet executeSql(String sqlStatement, List arguments) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18474,7 +19981,7 @@ class SqlTransactionSync native "*SQLTransactionSync" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Storage
+@DomName('Storage')
class Storage implements Map<String, String> native "*Storage" {
// TODO(nweiz): update this when maps support lazy iteration
@@ -18524,28 +20031,34 @@ class Storage implements Map<String, String> native "*Storage" {
bool get isEmpty => $dom_key(0) == null;
- /// @domName Storage.length; @docsEditable true
+ /// @docsEditable true
@JSName('length')
+ @DomName('Storage.length')
final int $dom_length;
- /// @domName Storage.clear; @docsEditable true
+ /// @docsEditable true
@JSName('clear')
+ @DomName('Storage.clear')
void $dom_clear() native;
- /// @domName Storage.getItem; @docsEditable true
+ /// @docsEditable true
@JSName('getItem')
+ @DomName('Storage.getItem')
String $dom_getItem(String key) native;
- /// @domName Storage.key; @docsEditable true
+ /// @docsEditable true
@JSName('key')
+ @DomName('Storage.key')
String $dom_key(int index) native;
- /// @domName Storage.removeItem; @docsEditable true
+ /// @docsEditable true
@JSName('removeItem')
+ @DomName('Storage.removeItem')
void $dom_removeItem(String key) native;
- /// @domName Storage.setItem; @docsEditable true
+ /// @docsEditable true
@JSName('setItem')
+ @DomName('Storage.setItem')
void $dom_setItem(String key, String data) native;
}
@@ -18554,25 +20067,32 @@ class Storage implements Map<String, String> native "*Storage" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName StorageEvent; @docsEditable true
+/// @docsEditable true
+@DomName('StorageEvent')
class StorageEvent extends Event native "*StorageEvent" {
- /// @domName StorageEvent.key; @docsEditable true
+ /// @docsEditable true
+ @DomName('StorageEvent.key')
final String key;
- /// @domName StorageEvent.newValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('StorageEvent.newValue')
final String newValue;
- /// @domName StorageEvent.oldValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('StorageEvent.oldValue')
final String oldValue;
- /// @domName StorageEvent.storageArea; @docsEditable true
+ /// @docsEditable true
+ @DomName('StorageEvent.storageArea')
final Storage storageArea;
- /// @domName StorageEvent.url; @docsEditable true
+ /// @docsEditable true
+ @DomName('StorageEvent.url')
final String url;
- /// @domName StorageEvent.initStorageEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('StorageEvent.initStorageEvent')
void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, String keyArg, String oldValueArg, String newValueArg, String urlArg, Storage storageAreaArg) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18580,17 +20100,20 @@ class StorageEvent extends Event native "*StorageEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName StorageInfo; @docsEditable true
+/// @docsEditable true
+@DomName('StorageInfo')
class StorageInfo native "*StorageInfo" {
static const int PERSISTENT = 1;
static const int TEMPORARY = 0;
- /// @domName StorageInfo.queryUsageAndQuota; @docsEditable true
+ /// @docsEditable true
+ @DomName('StorageInfo.queryUsageAndQuota')
void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback, StorageInfoErrorCallback errorCallback]) native;
- /// @domName StorageInfo.requestQuota; @docsEditable true
+ /// @docsEditable true
+ @DomName('StorageInfo.requestQuota')
void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, StorageInfoErrorCallback errorCallback]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18630,25 +20153,31 @@ typedef void StringCallback(String data);
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLStyleElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLStyleElement')
class StyleElement extends Element native "*HTMLStyleElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory StyleElement() => document.$dom_createElement("style");
- /// @domName HTMLStyleElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLStyleElement.disabled')
bool disabled;
- /// @domName HTMLStyleElement.media; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLStyleElement.media')
String media;
- /// @domName HTMLStyleElement.scoped; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLStyleElement.scoped')
bool scoped;
- /// @domName HTMLStyleElement.sheet; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLStyleElement.sheet')
final StyleSheet sheet;
- /// @domName HTMLStyleElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLStyleElement.type')
String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18656,13 +20185,16 @@ class StyleElement extends Element native "*HTMLStyleElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName StyleMedia; @docsEditable true
+/// @docsEditable true
+@DomName('StyleMedia')
class StyleMedia native "*StyleMedia" {
- /// @domName StyleMedia.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleMedia.type')
final String type;
- /// @domName StyleMedia.matchMedium; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleMedia.matchMedium')
bool matchMedium(String mediaquery) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18670,28 +20202,36 @@ class StyleMedia native "*StyleMedia" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName StyleSheet; @docsEditable true
+/// @docsEditable true
+@DomName('StyleSheet')
class StyleSheet native "*StyleSheet" {
- /// @domName StyleSheet.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheet.disabled')
bool disabled;
- /// @domName StyleSheet.href; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheet.href')
final String href;
- /// @domName StyleSheet.media; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheet.media')
final MediaList media;
- /// @domName StyleSheet.ownerNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheet.ownerNode')
final Node ownerNode;
- /// @domName StyleSheet.parentStyleSheet; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheet.parentStyleSheet')
final StyleSheet parentStyleSheet;
- /// @domName StyleSheet.title; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheet.title')
final String title;
- /// @domName StyleSheet.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheet.type')
final String type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18699,10 +20239,11 @@ class StyleSheet native "*StyleSheet" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTableCaptionElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLTableCaptionElement')
class TableCaptionElement extends Element native "*HTMLTableCaptionElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory TableCaptionElement() => document.$dom_createElement("caption");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18710,22 +20251,27 @@ class TableCaptionElement extends Element native "*HTMLTableCaptionElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTableCellElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLTableCellElement')
class TableCellElement extends Element native "*HTMLTableCellElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory TableCellElement() => document.$dom_createElement("td");
- /// @domName HTMLTableCellElement.cellIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableCellElement.cellIndex')
final int cellIndex;
- /// @domName HTMLTableCellElement.colSpan; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableCellElement.colSpan')
int colSpan;
- /// @domName HTMLTableCellElement.headers; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableCellElement.headers')
String headers;
- /// @domName HTMLTableCellElement.rowSpan; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableCellElement.rowSpan')
int rowSpan;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18733,13 +20279,15 @@ class TableCellElement extends Element native "*HTMLTableCellElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTableColElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLTableColElement')
class TableColElement extends Element native "*HTMLTableColElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory TableColElement() => document.$dom_createElement("col");
- /// @domName HTMLTableColElement.span; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableColElement.span')
int span;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18747,52 +20295,66 @@ class TableColElement extends Element native "*HTMLTableColElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTableElement
+@DomName('HTMLTableElement')
class TableElement extends Element native "*HTMLTableElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory TableElement() => document.$dom_createElement("table");
- /// @domName HTMLTableElement.border; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.border')
String border;
- /// @domName HTMLTableElement.caption; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.caption')
TableCaptionElement caption;
- /// @domName HTMLTableElement.rows; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.rows')
final HtmlCollection rows;
- /// @domName HTMLTableElement.tBodies; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.tBodies')
final HtmlCollection tBodies;
- /// @domName HTMLTableElement.tFoot; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.tFoot')
TableSectionElement tFoot;
- /// @domName HTMLTableElement.tHead; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.tHead')
TableSectionElement tHead;
- /// @domName HTMLTableElement.createCaption; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.createCaption')
Element createCaption() native;
- /// @domName HTMLTableElement.createTFoot; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.createTFoot')
Element createTFoot() native;
- /// @domName HTMLTableElement.createTHead; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.createTHead')
Element createTHead() native;
- /// @domName HTMLTableElement.deleteCaption; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.deleteCaption')
void deleteCaption() native;
- /// @domName HTMLTableElement.deleteRow; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.deleteRow')
void deleteRow(int index) native;
- /// @domName HTMLTableElement.deleteTFoot; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.deleteTFoot')
void deleteTFoot() native;
- /// @domName HTMLTableElement.deleteTHead; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.deleteTHead')
void deleteTHead() native;
- /// @domName HTMLTableElement.insertRow; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableElement.insertRow')
Element insertRow(int index) native;
@@ -18813,25 +20375,31 @@ class TableElement extends Element native "*HTMLTableElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTableRowElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLTableRowElement')
class TableRowElement extends Element native "*HTMLTableRowElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory TableRowElement() => document.$dom_createElement("tr");
- /// @domName HTMLTableRowElement.cells; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableRowElement.cells')
final HtmlCollection cells;
- /// @domName HTMLTableRowElement.rowIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableRowElement.rowIndex')
final int rowIndex;
- /// @domName HTMLTableRowElement.sectionRowIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableRowElement.sectionRowIndex')
final int sectionRowIndex;
- /// @domName HTMLTableRowElement.deleteCell; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableRowElement.deleteCell')
void deleteCell(int index) native;
- /// @domName HTMLTableRowElement.insertCell; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableRowElement.insertCell')
Element insertCell(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18839,19 +20407,24 @@ class TableRowElement extends Element native "*HTMLTableRowElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTableSectionElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLTableSectionElement')
class TableSectionElement extends Element native "*HTMLTableSectionElement" {
- /// @domName HTMLTableSectionElement.chOff; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableSectionElement.chOff')
String chOff;
- /// @domName HTMLTableSectionElement.rows; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableSectionElement.rows')
final HtmlCollection rows;
- /// @domName HTMLTableSectionElement.deleteRow; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableSectionElement.deleteRow')
void deleteRow(int index) native;
- /// @domName HTMLTableSectionElement.insertRow; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTableSectionElement.insertRow')
Element insertRow(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18861,17 +20434,20 @@ class TableSectionElement extends Element native "*HTMLTableSectionElement" {
// WARNING: Do not edit - generated code.
-/// @domName Text
+@DomName('Text')
class Text extends CharacterData native "*Text" {
factory Text(String data) => _TextFactoryProvider.createText(data);
- /// @domName Text.wholeText; @docsEditable true
+ /// @docsEditable true
+ @DomName('Text.wholeText')
final String wholeText;
- /// @domName Text.replaceWholeText; @docsEditable true
+ /// @docsEditable true
+ @DomName('Text.replaceWholeText')
Text replaceWholeText(String content) native;
- /// @domName Text.splitText; @docsEditable true
+ /// @docsEditable true
+ @DomName('Text.splitText')
Text splitText(int offset) native;
}
@@ -18880,95 +20456,124 @@ class Text extends CharacterData native "*Text" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTextAreaElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLTextAreaElement')
class TextAreaElement extends Element native "*HTMLTextAreaElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory TextAreaElement() => document.$dom_createElement("textarea");
- /// @domName HTMLTextAreaElement.autofocus; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.autofocus')
bool autofocus;
- /// @domName HTMLTextAreaElement.cols; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.cols')
int cols;
- /// @domName HTMLTextAreaElement.defaultValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.defaultValue')
String defaultValue;
- /// @domName HTMLTextAreaElement.dirName; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.dirName')
String dirName;
- /// @domName HTMLTextAreaElement.disabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.disabled')
bool disabled;
- /// @domName HTMLTextAreaElement.form; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.form')
final FormElement form;
- /// @domName HTMLTextAreaElement.labels; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.labels')
@Returns('NodeList') @Creates('NodeList')
final List<Node> labels;
- /// @domName HTMLTextAreaElement.maxLength; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.maxLength')
int maxLength;
- /// @domName HTMLTextAreaElement.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.name')
String name;
- /// @domName HTMLTextAreaElement.placeholder; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.placeholder')
String placeholder;
- /// @domName HTMLTextAreaElement.readOnly; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.readOnly')
bool readOnly;
- /// @domName HTMLTextAreaElement.required; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.required')
bool required;
- /// @domName HTMLTextAreaElement.rows; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.rows')
int rows;
- /// @domName HTMLTextAreaElement.selectionDirection; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.selectionDirection')
String selectionDirection;
- /// @domName HTMLTextAreaElement.selectionEnd; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.selectionEnd')
int selectionEnd;
- /// @domName HTMLTextAreaElement.selectionStart; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.selectionStart')
int selectionStart;
- /// @domName HTMLTextAreaElement.textLength; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.textLength')
final int textLength;
- /// @domName HTMLTextAreaElement.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.type')
final String type;
- /// @domName HTMLTextAreaElement.validationMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.validationMessage')
final String validationMessage;
- /// @domName HTMLTextAreaElement.validity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.validity')
final ValidityState validity;
- /// @domName HTMLTextAreaElement.value; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.value')
String value;
- /// @domName HTMLTextAreaElement.willValidate; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.willValidate')
final bool willValidate;
- /// @domName HTMLTextAreaElement.wrap; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.wrap')
String wrap;
- /// @domName HTMLTextAreaElement.checkValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.checkValidity')
bool checkValidity() native;
- /// @domName HTMLTextAreaElement.select; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.select')
void select() native;
- /// @domName HTMLTextAreaElement.setCustomValidity; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.setCustomValidity')
void setCustomValidity(String error) native;
- /// @domName HTMLTextAreaElement.setRangeText; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.setRangeText')
void setRangeText(String replacement, [int start, int end, String selectionMode]) native;
- /// @domName HTMLTextAreaElement.setSelectionRange; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTextAreaElement.setSelectionRange')
void setSelectionRange(int start, int end, [String direction]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18976,13 +20581,16 @@ class TextAreaElement extends Element native "*HTMLTextAreaElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TextEvent; @docsEditable true
+/// @docsEditable true
+@DomName('TextEvent')
class TextEvent extends UIEvent native "*TextEvent" {
- /// @domName TextEvent.data; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextEvent.data')
final String data;
- /// @domName TextEvent.initTextEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextEvent.initTextEvent')
void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Window viewArg, String dataArg) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -18990,10 +20598,12 @@ class TextEvent extends UIEvent native "*TextEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TextMetrics; @docsEditable true
+/// @docsEditable true
+@DomName('TextMetrics')
class TextMetrics native "*TextMetrics" {
- /// @domName TextMetrics.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextMetrics.width')
final num width;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19001,49 +20611,62 @@ class TextMetrics native "*TextMetrics" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TextTrack; @docsEditable true
+/// @docsEditable true
+@DomName('TextTrack')
class TextTrack extends EventTarget native "*TextTrack" {
static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProvider<Event>('cuechange');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
TextTrackEvents get on =>
new TextTrackEvents(this);
- /// @domName TextTrack.activeCues; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrack.activeCues')
final TextTrackCueList activeCues;
- /// @domName TextTrack.cues; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrack.cues')
final TextTrackCueList cues;
- /// @domName TextTrack.kind; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrack.kind')
final String kind;
- /// @domName TextTrack.label; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrack.label')
final String label;
- /// @domName TextTrack.language; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrack.language')
final String language;
- /// @domName TextTrack.mode; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrack.mode')
String mode;
- /// @domName TextTrack.addCue; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrack.addCue')
void addCue(TextTrackCue cue) native;
- /// @domName TextTrack.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('TextTrack.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName TextTrack.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('TextTrack.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName TextTrack.removeCue; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrack.removeCue')
void removeCue(TextTrackCue cue) native;
- /// @domName TextTrack.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('TextTrack.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<Event> get onCueChange => cueChangeEvent.forTarget(this);
@@ -19062,71 +20685,89 @@ class TextTrackEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TextTrackCue; @docsEditable true
+/// @docsEditable true
+@DomName('TextTrackCue')
class TextTrackCue extends EventTarget native "*TextTrackCue" {
static const EventStreamProvider<Event> enterEvent = const EventStreamProvider<Event>('enter');
static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<Event>('exit');
- ///@docsEditable true
+ /// @docsEditable true
factory TextTrackCue(num startTime, num endTime, String text) => TextTrackCue._create(startTime, endTime, text);
static TextTrackCue _create(num startTime, num endTime, String text) => JS('TextTrackCue', 'new TextTrackCue(#,#,#)', startTime, endTime, text);
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
TextTrackCueEvents get on =>
new TextTrackCueEvents(this);
- /// @domName TextTrackCue.align; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.align')
String align;
- /// @domName TextTrackCue.endTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.endTime')
num endTime;
- /// @domName TextTrackCue.id; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.id')
String id;
- /// @domName TextTrackCue.line; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.line')
int line;
- /// @domName TextTrackCue.pauseOnExit; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.pauseOnExit')
bool pauseOnExit;
- /// @domName TextTrackCue.position; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.position')
int position;
- /// @domName TextTrackCue.size; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.size')
int size;
- /// @domName TextTrackCue.snapToLines; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.snapToLines')
bool snapToLines;
- /// @domName TextTrackCue.startTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.startTime')
num startTime;
- /// @domName TextTrackCue.text; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.text')
String text;
- /// @domName TextTrackCue.track; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.track')
final TextTrack track;
- /// @domName TextTrackCue.vertical; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCue.vertical')
String vertical;
- /// @domName TextTrackCue.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('TextTrackCue.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName TextTrackCue.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('TextTrackCue.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName TextTrackCue.getCueAsHTML; @docsEditable true
+ /// @docsEditable true
@JSName('getCueAsHTML')
+ @DomName('TextTrackCue.getCueAsHTML')
DocumentFragment getCueAsHtml() native;
- /// @domName TextTrackCue.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('TextTrackCue.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<Event> get onEnter => enterEvent.forTarget(this);
@@ -19150,10 +20791,12 @@ class TextTrackCueEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TextTrackCueList; @docsEditable true
+/// @docsEditable true
+@DomName('TextTrackCueList')
class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior native "*TextTrackCueList" {
- /// @domName TextTrackCueList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCueList.length')
int get length => JS("int", "#.length", this);
TextTrackCue operator[](int index) => JS("TextTrackCue", "#[#]", this, index);
@@ -19301,10 +20944,12 @@ class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
// -- end List<TextTrackCue> mixins.
- /// @domName TextTrackCueList.getCueById; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCueList.getCueById')
TextTrackCue getCueById(String id) native;
- /// @domName TextTrackCueList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackCueList.item')
TextTrackCue item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19312,16 +20957,19 @@ class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
// BSD-style license that can be found in the LICENSE file.
-/// @domName TextTrackList; @docsEditable true
+/// @docsEditable true
+@DomName('TextTrackList')
class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, List<TextTrack> native "*TextTrackList" {
static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStreamProvider<TrackEvent>('addtrack');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
TextTrackListEvents get on =>
new TextTrackListEvents(this);
- /// @domName TextTrackList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackList.length')
int get length => JS("int", "#.length", this);
TextTrack operator[](int index) => JS("TextTrack", "#[#]", this, index);
@@ -19469,19 +21117,23 @@ class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L
// -- end List<TextTrack> mixins.
- /// @domName TextTrackList.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('TextTrackList.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName TextTrackList.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('TextTrackList.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName TextTrackList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('TextTrackList.item')
TextTrack item(int index) native;
- /// @domName TextTrackList.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('TextTrackList.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this);
@@ -19500,16 +21152,20 @@ class TextTrackListEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TimeRanges; @docsEditable true
+/// @docsEditable true
+@DomName('TimeRanges')
class TimeRanges native "*TimeRanges" {
- /// @domName TimeRanges.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('TimeRanges.length')
final int length;
- /// @domName TimeRanges.end; @docsEditable true
+ /// @docsEditable true
+ @DomName('TimeRanges.end')
num end(int index) native;
- /// @domName TimeRanges.start; @docsEditable true
+ /// @docsEditable true
+ @DomName('TimeRanges.start')
num start(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19525,10 +21181,11 @@ typedef void TimeoutHandler();
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTitleElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLTitleElement')
class TitleElement extends Element native "*HTMLTitleElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory TitleElement() => document.$dom_createElement("title");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19536,46 +21193,58 @@ class TitleElement extends Element native "*HTMLTitleElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Touch; @docsEditable true
+/// @docsEditable true
+@DomName('Touch')
class Touch native "*Touch" {
- /// @domName Touch.clientX; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.clientX')
final int clientX;
- /// @domName Touch.clientY; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.clientY')
final int clientY;
- /// @domName Touch.identifier; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.identifier')
final int identifier;
- /// @domName Touch.pageX; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.pageX')
final int pageX;
- /// @domName Touch.pageY; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.pageY')
final int pageY;
- /// @domName Touch.screenX; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.screenX')
final int screenX;
- /// @domName Touch.screenY; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.screenY')
final int screenY;
- /// @domName Touch.target; @docsEditable true
+ /// @docsEditable true
EventTarget get target => _convertNativeToDart_EventTarget(this._target);
@JSName('target')
- @Creates('Element|Document') @Returns('Element|Document')
+ @DomName('Touch.target') @Creates('Element|Document') @Returns('Element|Document')
final dynamic _target;
- /// @domName Touch.webkitForce; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.webkitForce')
final num webkitForce;
- /// @domName Touch.webkitRadiusX; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.webkitRadiusX')
final int webkitRadiusX;
- /// @domName Touch.webkitRadiusY; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.webkitRadiusY')
final int webkitRadiusY;
- /// @domName Touch.webkitRotationAngle; @docsEditable true
+ /// @docsEditable true
+ @DomName('Touch.webkitRotationAngle')
final num webkitRotationAngle;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19583,31 +21252,40 @@ class Touch native "*Touch" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TouchEvent; @docsEditable true
+/// @docsEditable true
+@DomName('TouchEvent')
class TouchEvent extends UIEvent native "*TouchEvent" {
- /// @domName TouchEvent.altKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchEvent.altKey')
final bool altKey;
- /// @domName TouchEvent.changedTouches; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchEvent.changedTouches')
final TouchList changedTouches;
- /// @domName TouchEvent.ctrlKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchEvent.ctrlKey')
final bool ctrlKey;
- /// @domName TouchEvent.metaKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchEvent.metaKey')
final bool metaKey;
- /// @domName TouchEvent.shiftKey; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchEvent.shiftKey')
final bool shiftKey;
- /// @domName TouchEvent.targetTouches; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchEvent.targetTouches')
final TouchList targetTouches;
- /// @domName TouchEvent.touches; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchEvent.touches')
final TouchList touches;
- /// @domName TouchEvent.initTouchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchEvent.initTouchEvent')
void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19615,10 +21293,12 @@ class TouchEvent extends UIEvent native "*TouchEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TouchList; @docsEditable true
+/// @docsEditable true
+@DomName('TouchList')
class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*TouchList" {
- /// @domName TouchList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchList.length')
int get length => JS("int", "#.length", this);
Touch operator[](int index) => JS("Touch", "#[#]", this, index);
@@ -19766,7 +21446,8 @@ class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
// -- end List<Touch> mixins.
- /// @domName TouchList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('TouchList.item')
Touch item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19774,13 +21455,14 @@ class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLTrackElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLTrackElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
class TrackElement extends Element native "*HTMLTrackElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory TrackElement() => document.$dom_createElement("track");
/// Checks if this type is supported on the current platform.
@@ -19794,26 +21476,33 @@ class TrackElement extends Element native "*HTMLTrackElement" {
static const int NONE = 0;
- /// @domName HTMLTrackElement.defaultValue; @docsEditable true
+ /// @docsEditable true
@JSName('default')
+ @DomName('HTMLTrackElement.default')
bool defaultValue;
- /// @domName HTMLTrackElement.kind; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTrackElement.kind')
String kind;
- /// @domName HTMLTrackElement.label; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTrackElement.label')
String label;
- /// @domName HTMLTrackElement.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTrackElement.readyState')
final int readyState;
- /// @domName HTMLTrackElement.src; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTrackElement.src')
String src;
- /// @domName HTMLTrackElement.srclang; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTrackElement.srclang')
String srclang;
- /// @domName HTMLTrackElement.track; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLTrackElement.track')
final TextTrack track;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19821,10 +21510,12 @@ class TrackElement extends Element native "*HTMLTrackElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TrackEvent; @docsEditable true
+/// @docsEditable true
+@DomName('TrackEvent')
class TrackEvent extends Event native "*TrackEvent" {
- /// @domName TrackEvent.track; @docsEditable true
+ /// @docsEditable true
+ @DomName('TrackEvent.track')
final Object track;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19832,13 +21523,16 @@ class TrackEvent extends Event native "*TrackEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitTransitionEvent; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitTransitionEvent')
class TransitionEvent extends Event native "*WebKitTransitionEvent" {
- /// @domName WebKitTransitionEvent.elapsedTime; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitTransitionEvent.elapsedTime')
final num elapsedTime;
- /// @domName WebKitTransitionEvent.propertyName; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitTransitionEvent.propertyName')
final String propertyName;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19846,43 +21540,56 @@ class TransitionEvent extends Event native "*WebKitTransitionEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName TreeWalker; @docsEditable true
+/// @docsEditable true
+@DomName('TreeWalker')
class TreeWalker native "*TreeWalker" {
- /// @domName TreeWalker.currentNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.currentNode')
Node currentNode;
- /// @domName TreeWalker.expandEntityReferences; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.expandEntityReferences')
final bool expandEntityReferences;
- /// @domName TreeWalker.filter; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.filter')
final NodeFilter filter;
- /// @domName TreeWalker.root; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.root')
final Node root;
- /// @domName TreeWalker.whatToShow; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.whatToShow')
final int whatToShow;
- /// @domName TreeWalker.firstChild; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.firstChild')
Node firstChild() native;
- /// @domName TreeWalker.lastChild; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.lastChild')
Node lastChild() native;
- /// @domName TreeWalker.nextNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.nextNode')
Node nextNode() native;
- /// @domName TreeWalker.nextSibling; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.nextSibling')
Node nextSibling() native;
- /// @domName TreeWalker.parentNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.parentNode')
Node parentNode() native;
- /// @domName TreeWalker.previousNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.previousNode')
Node previousNode() native;
- /// @domName TreeWalker.previousSibling; @docsEditable true
+ /// @docsEditable true
+ @DomName('TreeWalker.previousSibling')
Node previousSibling() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19892,7 +21599,7 @@ class TreeWalker native "*TreeWalker" {
// WARNING: Do not edit - generated code.
-/// @domName UIEvent; @docsEditable true
+@DomName('UIEvent')
class UIEvent extends Event native "*UIEvent" {
// In JS, canBubble and cancelable are technically required parameters to
// init*Event. In practice, though, if they aren't provided they simply
@@ -19907,40 +21614,49 @@ class UIEvent extends Event native "*UIEvent" {
return e;
}
- /// @domName UIEvent.charCode; @docsEditable true
+ /// @docsEditable true
@JSName('charCode')
+ @DomName('UIEvent.charCode')
final int $dom_charCode;
- /// @domName UIEvent.detail; @docsEditable true
+ /// @docsEditable true
+ @DomName('UIEvent.detail')
final int detail;
- /// @domName UIEvent.keyCode; @docsEditable true
+ /// @docsEditable true
@JSName('keyCode')
+ @DomName('UIEvent.keyCode')
final int $dom_keyCode;
- /// @domName UIEvent.layerX; @docsEditable true
+ /// @docsEditable true
+ @DomName('UIEvent.layerX')
final int layerX;
- /// @domName UIEvent.layerY; @docsEditable true
+ /// @docsEditable true
+ @DomName('UIEvent.layerY')
final int layerY;
- /// @domName UIEvent.pageX; @docsEditable true
+ /// @docsEditable true
+ @DomName('UIEvent.pageX')
final int pageX;
- /// @domName UIEvent.pageY; @docsEditable true
+ /// @docsEditable true
+ @DomName('UIEvent.pageY')
final int pageY;
- /// @domName UIEvent.view; @docsEditable true
+ /// @docsEditable true
WindowBase get view => _convertNativeToDart_Window(this._view);
@JSName('view')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('UIEvent.view') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _view;
- /// @domName UIEvent.which; @docsEditable true
+ /// @docsEditable true
+ @DomName('UIEvent.which')
final int which;
- /// @domName UIEvent.initUIEvent; @docsEditable true
+ /// @docsEditable true
@JSName('initUIEvent')
+ @DomName('UIEvent.initUIEvent')
void $dom_initUIEvent(String type, bool canBubble, bool cancelable, Window view, int detail) native;
}
@@ -19949,10 +21665,11 @@ class UIEvent extends Event native "*UIEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLUListElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLUListElement')
class UListElement extends Element native "*HTMLUListElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory UListElement() => document.$dom_createElement("ul");
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -19960,7 +21677,8 @@ class UListElement extends Element native "*HTMLUListElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Uint16Array; @docsEditable true
+/// @docsEditable true
+@DomName('Uint16Array')
class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint16Array" {
factory Uint16Array(int length) =>
@@ -19974,7 +21692,8 @@ class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
static const int BYTES_PER_ELEMENT = 2;
- /// @domName Uint16Array.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('Uint16Array.length')
int get length => JS("int", "#.length", this);
int operator[](int index) => JS("int", "#[#]", this, index);
@@ -20119,11 +21838,13 @@ class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// -- end List<int> mixins.
- /// @domName Uint16Array.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Uint16Array.set')
void setElements(Object array, [int offset]) native;
- /// @domName Uint16Array.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Uint16Array.subarray')
Uint16Array subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20131,7 +21852,8 @@ class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// BSD-style license that can be found in the LICENSE file.
-/// @domName Uint32Array; @docsEditable true
+/// @docsEditable true
+@DomName('Uint32Array')
class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint32Array" {
factory Uint32Array(int length) =>
@@ -20145,7 +21867,8 @@ class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
static const int BYTES_PER_ELEMENT = 4;
- /// @domName Uint32Array.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('Uint32Array.length')
int get length => JS("int", "#.length", this);
int operator[](int index) => JS("int", "#[#]", this, index);
@@ -20290,11 +22013,13 @@ class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// -- end List<int> mixins.
- /// @domName Uint32Array.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Uint32Array.set')
void setElements(Object array, [int offset]) native;
- /// @domName Uint32Array.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Uint32Array.subarray')
Uint32Array subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20302,7 +22027,8 @@ class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// BSD-style license that can be found in the LICENSE file.
-/// @domName Uint8Array; @docsEditable true
+/// @docsEditable true
+@DomName('Uint8Array')
class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint8Array" {
factory Uint8Array(int length) =>
@@ -20316,7 +22042,8 @@ class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
static const int BYTES_PER_ELEMENT = 1;
- /// @domName Uint8Array.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('Uint8Array.length')
int get length => JS("int", "#.length", this);
int operator[](int index) => JS("int", "#[#]", this, index);
@@ -20461,11 +22188,13 @@ class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// -- end List<int> mixins.
- /// @domName Uint8Array.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Uint8Array.set')
void setElements(Object array, [int offset]) native;
- /// @domName Uint8Array.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Uint8Array.subarray')
Uint8Array subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20473,7 +22202,8 @@ class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
// BSD-style license that can be found in the LICENSE file.
-/// @domName Uint8ClampedArray; @docsEditable true
+/// @docsEditable true
+@DomName('Uint8ClampedArray')
class Uint8ClampedArray extends Uint8Array native "*Uint8ClampedArray" {
factory Uint8ClampedArray(int length) =>
@@ -20488,11 +22218,13 @@ class Uint8ClampedArray extends Uint8Array native "*Uint8ClampedArray" {
// Use implementation from Uint8Array.
// final int length;
- /// @domName Uint8ClampedArray.setElements; @docsEditable true
+ /// @docsEditable true
@JSName('set')
+ @DomName('Uint8ClampedArray.set')
void setElements(Object array, [int offset]) native;
- /// @domName Uint8ClampedArray.subarray; @docsEditable true
+ /// @docsEditable true
+ @DomName('Uint8ClampedArray.subarray')
Uint8ClampedArray subarray(int start, [int end]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20500,7 +22232,8 @@ class Uint8ClampedArray extends Uint8Array native "*Uint8ClampedArray" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLUnknownElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLUnknownElement')
class UnknownElement extends Element native "*HTMLUnknownElement" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20508,7 +22241,7 @@ class UnknownElement extends Element native "*HTMLUnknownElement" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName URL
+@DomName('URL')
class Url native "*URL" {
static String createObjectUrl(blob_OR_source_OR_stream) =>
@@ -20526,37 +22259,48 @@ class Url native "*URL" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ValidityState; @docsEditable true
+/// @docsEditable true
+@DomName('ValidityState')
class ValidityState native "*ValidityState" {
- /// @domName ValidityState.badInput; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.badInput')
final bool badInput;
- /// @domName ValidityState.customError; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.customError')
final bool customError;
- /// @domName ValidityState.patternMismatch; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.patternMismatch')
final bool patternMismatch;
- /// @domName ValidityState.rangeOverflow; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.rangeOverflow')
final bool rangeOverflow;
- /// @domName ValidityState.rangeUnderflow; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.rangeUnderflow')
final bool rangeUnderflow;
- /// @domName ValidityState.stepMismatch; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.stepMismatch')
final bool stepMismatch;
- /// @domName ValidityState.tooLong; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.tooLong')
final bool tooLong;
- /// @domName ValidityState.typeMismatch; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.typeMismatch')
final bool typeMismatch;
- /// @domName ValidityState.valid; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.valid')
final bool valid;
- /// @domName ValidityState.valueMissing; @docsEditable true
+ /// @docsEditable true
+ @DomName('ValidityState.valueMissing')
final bool valueMissing;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20564,49 +22308,63 @@ class ValidityState native "*ValidityState" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName HTMLVideoElement; @docsEditable true
+/// @docsEditable true
+@DomName('HTMLVideoElement')
class VideoElement extends MediaElement native "*HTMLVideoElement" {
- ///@docsEditable true
+ /// @docsEditable true
factory VideoElement() => document.$dom_createElement("video");
- /// @domName HTMLVideoElement.height; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.height')
int height;
- /// @domName HTMLVideoElement.poster; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.poster')
String poster;
- /// @domName HTMLVideoElement.videoHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.videoHeight')
final int videoHeight;
- /// @domName HTMLVideoElement.videoWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.videoWidth')
final int videoWidth;
- /// @domName HTMLVideoElement.webkitDecodedFrameCount; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.webkitDecodedFrameCount')
final int webkitDecodedFrameCount;
- /// @domName HTMLVideoElement.webkitDisplayingFullscreen; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.webkitDisplayingFullscreen')
final bool webkitDisplayingFullscreen;
- /// @domName HTMLVideoElement.webkitDroppedFrameCount; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.webkitDroppedFrameCount')
final int webkitDroppedFrameCount;
- /// @domName HTMLVideoElement.webkitSupportsFullscreen; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.webkitSupportsFullscreen')
final bool webkitSupportsFullscreen;
- /// @domName HTMLVideoElement.width; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.width')
int width;
- /// @domName HTMLVideoElement.webkitEnterFullScreen; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.webkitEnterFullScreen')
void webkitEnterFullScreen() native;
- /// @domName HTMLVideoElement.webkitEnterFullscreen; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.webkitEnterFullscreen')
void webkitEnterFullscreen() native;
- /// @domName HTMLVideoElement.webkitExitFullScreen; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.webkitExitFullScreen')
void webkitExitFullScreen() native;
- /// @domName HTMLVideoElement.webkitExitFullscreen; @docsEditable true
+ /// @docsEditable true
+ @DomName('HTMLVideoElement.webkitExitFullscreen')
void webkitExitFullscreen() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20622,16 +22380,20 @@ typedef void VoidCallback();
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLActiveInfo; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLActiveInfo')
class WebGLActiveInfo native "*WebGLActiveInfo" {
- /// @domName WebGLActiveInfo.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLActiveInfo.name')
final String name;
- /// @domName WebGLActiveInfo.size; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLActiveInfo.size')
final int size;
- /// @domName WebGLActiveInfo.type; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLActiveInfo.type')
final int type;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20639,7 +22401,8 @@ class WebGLActiveInfo native "*WebGLActiveInfo" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLBuffer; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLBuffer')
class WebGLBuffer native "*WebGLBuffer" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20647,7 +22410,8 @@ class WebGLBuffer native "*WebGLBuffer" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLCompressedTextureS3TC; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLCompressedTextureS3TC')
class WebGLCompressedTextureS3TC native "*WebGLCompressedTextureS3TC" {
static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
@@ -20663,25 +22427,32 @@ class WebGLCompressedTextureS3TC native "*WebGLCompressedTextureS3TC" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLContextAttributes; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLContextAttributes')
class WebGLContextAttributes native "*WebGLContextAttributes" {
- /// @domName WebGLContextAttributes.alpha; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLContextAttributes.alpha')
bool alpha;
- /// @domName WebGLContextAttributes.antialias; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLContextAttributes.antialias')
bool antialias;
- /// @domName WebGLContextAttributes.depth; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLContextAttributes.depth')
bool depth;
- /// @domName WebGLContextAttributes.premultipliedAlpha; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLContextAttributes.premultipliedAlpha')
bool premultipliedAlpha;
- /// @domName WebGLContextAttributes.preserveDrawingBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLContextAttributes.preserveDrawingBuffer')
bool preserveDrawingBuffer;
- /// @domName WebGLContextAttributes.stencil; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLContextAttributes.stencil')
bool stencil;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20689,10 +22460,12 @@ class WebGLContextAttributes native "*WebGLContextAttributes" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLContextEvent; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLContextEvent')
class WebGLContextEvent extends Event native "*WebGLContextEvent" {
- /// @domName WebGLContextEvent.statusMessage; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLContextEvent.statusMessage')
final String statusMessage;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20700,7 +22473,8 @@ class WebGLContextEvent extends Event native "*WebGLContextEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLDebugRendererInfo; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLDebugRendererInfo')
class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" {
static const int UNMASKED_RENDERER_WEBGL = 0x9246;
@@ -20712,10 +22486,12 @@ class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLDebugShaders; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLDebugShaders')
class WebGLDebugShaders native "*WebGLDebugShaders" {
- /// @domName WebGLDebugShaders.getTranslatedShaderSource; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLDebugShaders.getTranslatedShaderSource')
String getTranslatedShaderSource(WebGLShader shader) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20723,7 +22499,8 @@ class WebGLDebugShaders native "*WebGLDebugShaders" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLDepthTexture; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLDepthTexture')
class WebGLDepthTexture native "*WebGLDepthTexture" {
static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
@@ -20733,7 +22510,8 @@ class WebGLDepthTexture native "*WebGLDepthTexture" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLFramebuffer; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLFramebuffer')
class WebGLFramebuffer native "*WebGLFramebuffer" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20741,13 +22519,16 @@ class WebGLFramebuffer native "*WebGLFramebuffer" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLLoseContext; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLLoseContext')
class WebGLLoseContext native "*WebGLLoseContext" {
- /// @domName WebGLLoseContext.loseContext; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLLoseContext.loseContext')
void loseContext() native;
- /// @domName WebGLLoseContext.restoreContext; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLLoseContext.restoreContext')
void restoreContext() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20755,7 +22536,8 @@ class WebGLLoseContext native "*WebGLLoseContext" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLProgram; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLProgram')
class WebGLProgram native "*WebGLProgram" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20763,7 +22545,8 @@ class WebGLProgram native "*WebGLProgram" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLRenderbuffer; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLRenderbuffer')
class WebGLRenderbuffer native "*WebGLRenderbuffer" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -20771,7 +22554,8 @@ class WebGLRenderbuffer native "*WebGLRenderbuffer" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLRenderingContext; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLRenderingContext')
class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderingContext" {
static const int ACTIVE_ATTRIBUTES = 0x8B89;
@@ -21364,319 +23148,423 @@ class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi
static const int ZERO = 0;
- /// @domName WebGLRenderingContext.drawingBufferHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.drawingBufferHeight')
final int drawingBufferHeight;
- /// @domName WebGLRenderingContext.drawingBufferWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.drawingBufferWidth')
final int drawingBufferWidth;
- /// @domName WebGLRenderingContext.activeTexture; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.activeTexture')
void activeTexture(int texture) native;
- /// @domName WebGLRenderingContext.attachShader; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.attachShader')
void attachShader(WebGLProgram program, WebGLShader shader) native;
- /// @domName WebGLRenderingContext.bindAttribLocation; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.bindAttribLocation')
void bindAttribLocation(WebGLProgram program, int index, String name) native;
- /// @domName WebGLRenderingContext.bindBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.bindBuffer')
void bindBuffer(int target, WebGLBuffer buffer) native;
- /// @domName WebGLRenderingContext.bindFramebuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.bindFramebuffer')
void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native;
- /// @domName WebGLRenderingContext.bindRenderbuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.bindRenderbuffer')
void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer) native;
- /// @domName WebGLRenderingContext.bindTexture; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.bindTexture')
void bindTexture(int target, WebGLTexture texture) native;
- /// @domName WebGLRenderingContext.blendColor; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.blendColor')
void blendColor(num red, num green, num blue, num alpha) native;
- /// @domName WebGLRenderingContext.blendEquation; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.blendEquation')
void blendEquation(int mode) native;
- /// @domName WebGLRenderingContext.blendEquationSeparate; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.blendEquationSeparate')
void blendEquationSeparate(int modeRGB, int modeAlpha) native;
- /// @domName WebGLRenderingContext.blendFunc; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.blendFunc')
void blendFunc(int sfactor, int dfactor) native;
- /// @domName WebGLRenderingContext.blendFuncSeparate; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.blendFuncSeparate')
void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native;
- /// @domName WebGLRenderingContext.bufferData; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.bufferData')
void bufferData(int target, data_OR_size, int usage) native;
- /// @domName WebGLRenderingContext.bufferSubData; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.bufferSubData')
void bufferSubData(int target, int offset, data) native;
- /// @domName WebGLRenderingContext.checkFramebufferStatus; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.checkFramebufferStatus')
int checkFramebufferStatus(int target) native;
- /// @domName WebGLRenderingContext.clear; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.clear')
void clear(int mask) native;
- /// @domName WebGLRenderingContext.clearColor; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.clearColor')
void clearColor(num red, num green, num blue, num alpha) native;
- /// @domName WebGLRenderingContext.clearDepth; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.clearDepth')
void clearDepth(num depth) native;
- /// @domName WebGLRenderingContext.clearStencil; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.clearStencil')
void clearStencil(int s) native;
- /// @domName WebGLRenderingContext.colorMask; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.colorMask')
void colorMask(bool red, bool green, bool blue, bool alpha) native;
- /// @domName WebGLRenderingContext.compileShader; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.compileShader')
void compileShader(WebGLShader shader) native;
- /// @domName WebGLRenderingContext.compressedTexImage2D; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.compressedTexImage2D')
void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, ArrayBufferView data) native;
- /// @domName WebGLRenderingContext.compressedTexSubImage2D; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.compressedTexSubImage2D')
void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data) native;
- /// @domName WebGLRenderingContext.copyTexImage2D; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.copyTexImage2D')
void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native;
- /// @domName WebGLRenderingContext.copyTexSubImage2D; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.copyTexSubImage2D')
void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
- /// @domName WebGLRenderingContext.createBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.createBuffer')
WebGLBuffer createBuffer() native;
- /// @domName WebGLRenderingContext.createFramebuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.createFramebuffer')
WebGLFramebuffer createFramebuffer() native;
- /// @domName WebGLRenderingContext.createProgram; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.createProgram')
WebGLProgram createProgram() native;
- /// @domName WebGLRenderingContext.createRenderbuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.createRenderbuffer')
WebGLRenderbuffer createRenderbuffer() native;
- /// @domName WebGLRenderingContext.createShader; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.createShader')
WebGLShader createShader(int type) native;
- /// @domName WebGLRenderingContext.createTexture; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.createTexture')
WebGLTexture createTexture() native;
- /// @domName WebGLRenderingContext.cullFace; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.cullFace')
void cullFace(int mode) native;
- /// @domName WebGLRenderingContext.deleteBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.deleteBuffer')
void deleteBuffer(WebGLBuffer buffer) native;
- /// @domName WebGLRenderingContext.deleteFramebuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.deleteFramebuffer')
void deleteFramebuffer(WebGLFramebuffer framebuffer) native;
- /// @domName WebGLRenderingContext.deleteProgram; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.deleteProgram')
void deleteProgram(WebGLProgram program) native;
- /// @domName WebGLRenderingContext.deleteRenderbuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.deleteRenderbuffer')
void deleteRenderbuffer(WebGLRenderbuffer renderbuffer) native;
- /// @domName WebGLRenderingContext.deleteShader; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.deleteShader')
void deleteShader(WebGLShader shader) native;
- /// @domName WebGLRenderingContext.deleteTexture; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.deleteTexture')
void deleteTexture(WebGLTexture texture) native;
- /// @domName WebGLRenderingContext.depthFunc; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.depthFunc')
void depthFunc(int func) native;
- /// @domName WebGLRenderingContext.depthMask; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.depthMask')
void depthMask(bool flag) native;
- /// @domName WebGLRenderingContext.depthRange; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.depthRange')
void depthRange(num zNear, num zFar) native;
- /// @domName WebGLRenderingContext.detachShader; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.detachShader')
void detachShader(WebGLProgram program, WebGLShader shader) native;
- /// @domName WebGLRenderingContext.disable; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.disable')
void disable(int cap) native;
- /// @domName WebGLRenderingContext.disableVertexAttribArray; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.disableVertexAttribArray')
void disableVertexAttribArray(int index) native;
- /// @domName WebGLRenderingContext.drawArrays; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.drawArrays')
void drawArrays(int mode, int first, int count) native;
- /// @domName WebGLRenderingContext.drawElements; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.drawElements')
void drawElements(int mode, int count, int type, int offset) native;
- /// @domName WebGLRenderingContext.enable; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.enable')
void enable(int cap) native;
- /// @domName WebGLRenderingContext.enableVertexAttribArray; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.enableVertexAttribArray')
void enableVertexAttribArray(int index) native;
- /// @domName WebGLRenderingContext.finish; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.finish')
void finish() native;
- /// @domName WebGLRenderingContext.flush; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.flush')
void flush() native;
- /// @domName WebGLRenderingContext.framebufferRenderbuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.framebufferRenderbuffer')
void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, WebGLRenderbuffer renderbuffer) native;
- /// @domName WebGLRenderingContext.framebufferTexture2D; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.framebufferTexture2D')
void framebufferTexture2D(int target, int attachment, int textarget, WebGLTexture texture, int level) native;
- /// @domName WebGLRenderingContext.frontFace; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.frontFace')
void frontFace(int mode) native;
- /// @domName WebGLRenderingContext.generateMipmap; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.generateMipmap')
void generateMipmap(int target) native;
- /// @domName WebGLRenderingContext.getActiveAttrib; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getActiveAttrib')
WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native;
- /// @domName WebGLRenderingContext.getActiveUniform; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getActiveUniform')
WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native;
- /// @domName WebGLRenderingContext.getAttachedShaders; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getAttachedShaders')
void getAttachedShaders(WebGLProgram program) native;
- /// @domName WebGLRenderingContext.getAttribLocation; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getAttribLocation')
int getAttribLocation(WebGLProgram program, String name) native;
- /// @domName WebGLRenderingContext.getBufferParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getBufferParameter')
Object getBufferParameter(int target, int pname) native;
- /// @domName WebGLRenderingContext.getContextAttributes; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getContextAttributes')
WebGLContextAttributes getContextAttributes() native;
- /// @domName WebGLRenderingContext.getError; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getError')
int getError() native;
- /// @domName WebGLRenderingContext.getExtension; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getExtension')
Object getExtension(String name) native;
- /// @domName WebGLRenderingContext.getFramebufferAttachmentParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
Object getFramebufferAttachmentParameter(int target, int attachment, int pname) native;
- /// @domName WebGLRenderingContext.getParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getParameter')
Object getParameter(int pname) native;
- /// @domName WebGLRenderingContext.getProgramInfoLog; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getProgramInfoLog')
String getProgramInfoLog(WebGLProgram program) native;
- /// @domName WebGLRenderingContext.getProgramParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getProgramParameter')
Object getProgramParameter(WebGLProgram program, int pname) native;
- /// @domName WebGLRenderingContext.getRenderbufferParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getRenderbufferParameter')
Object getRenderbufferParameter(int target, int pname) native;
- /// @domName WebGLRenderingContext.getShaderInfoLog; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getShaderInfoLog')
String getShaderInfoLog(WebGLShader shader) native;
- /// @domName WebGLRenderingContext.getShaderParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getShaderParameter')
Object getShaderParameter(WebGLShader shader, int pname) native;
- /// @domName WebGLRenderingContext.getShaderPrecisionFormat; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) native;
- /// @domName WebGLRenderingContext.getShaderSource; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getShaderSource')
String getShaderSource(WebGLShader shader) native;
- /// @domName WebGLRenderingContext.getSupportedExtensions; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getSupportedExtensions')
List<String> getSupportedExtensions() native;
- /// @domName WebGLRenderingContext.getTexParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getTexParameter')
Object getTexParameter(int target, int pname) native;
- /// @domName WebGLRenderingContext.getUniform; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getUniform')
Object getUniform(WebGLProgram program, WebGLUniformLocation location) native;
- /// @domName WebGLRenderingContext.getUniformLocation; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getUniformLocation')
WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) native;
- /// @domName WebGLRenderingContext.getVertexAttrib; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getVertexAttrib')
Object getVertexAttrib(int index, int pname) native;
- /// @domName WebGLRenderingContext.getVertexAttribOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.getVertexAttribOffset')
int getVertexAttribOffset(int index, int pname) native;
- /// @domName WebGLRenderingContext.hint; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.hint')
void hint(int target, int mode) native;
- /// @domName WebGLRenderingContext.isBuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.isBuffer')
bool isBuffer(WebGLBuffer buffer) native;
- /// @domName WebGLRenderingContext.isContextLost; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.isContextLost')
bool isContextLost() native;
- /// @domName WebGLRenderingContext.isEnabled; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.isEnabled')
bool isEnabled(int cap) native;
- /// @domName WebGLRenderingContext.isFramebuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.isFramebuffer')
bool isFramebuffer(WebGLFramebuffer framebuffer) native;
- /// @domName WebGLRenderingContext.isProgram; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.isProgram')
bool isProgram(WebGLProgram program) native;
- /// @domName WebGLRenderingContext.isRenderbuffer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.isRenderbuffer')
bool isRenderbuffer(WebGLRenderbuffer renderbuffer) native;
- /// @domName WebGLRenderingContext.isShader; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.isShader')
bool isShader(WebGLShader shader) native;
- /// @domName WebGLRenderingContext.isTexture; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.isTexture')
bool isTexture(WebGLTexture texture) native;
- /// @domName WebGLRenderingContext.lineWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.lineWidth')
void lineWidth(num width) native;
- /// @domName WebGLRenderingContext.linkProgram; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.linkProgram')
void linkProgram(WebGLProgram program) native;
- /// @domName WebGLRenderingContext.pixelStorei; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.pixelStorei')
void pixelStorei(int pname, int param) native;
- /// @domName WebGLRenderingContext.polygonOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.polygonOffset')
void polygonOffset(num factor, num units) native;
- /// @domName WebGLRenderingContext.readPixels; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.readPixels')
void readPixels(int x, int y, int width, int height, int format, int type, ArrayBufferView pixels) native;
- /// @domName WebGLRenderingContext.releaseShaderCompiler; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.releaseShaderCompiler')
void releaseShaderCompiler() native;
- /// @domName WebGLRenderingContext.renderbufferStorage; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.renderbufferStorage')
void renderbufferStorage(int target, int internalformat, int width, int height) native;
- /// @domName WebGLRenderingContext.sampleCoverage; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.sampleCoverage')
void sampleCoverage(num value, bool invert) native;
- /// @domName WebGLRenderingContext.scissor; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.scissor')
void scissor(int x, int y, int width, int height) native;
- /// @domName WebGLRenderingContext.shaderSource; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.shaderSource')
void shaderSource(WebGLShader shader, String string) native;
- /// @domName WebGLRenderingContext.stencilFunc; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.stencilFunc')
void stencilFunc(int func, int ref, int mask) native;
- /// @domName WebGLRenderingContext.stencilFuncSeparate; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.stencilFuncSeparate')
void stencilFuncSeparate(int face, int func, int ref, int mask) native;
- /// @domName WebGLRenderingContext.stencilMask; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.stencilMask')
void stencilMask(int mask) native;
- /// @domName WebGLRenderingContext.stencilMaskSeparate; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.stencilMaskSeparate')
void stencilMaskSeparate(int face, int mask) native;
- /// @domName WebGLRenderingContext.stencilOp; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.stencilOp')
void stencilOp(int fail, int zfail, int zpass) native;
- /// @domName WebGLRenderingContext.stencilOpSeparate; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.stencilOpSeparate')
void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
- /// @domName WebGLRenderingContext.texImage2D; @docsEditable true
+ /// @docsEditable true
void texImage2D(int target, int level, int internalformat, int format_OR_width, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, ArrayBufferView pixels]) {
if ((border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null)) {
_texImage2D_1(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
@@ -21714,23 +23602,30 @@ class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi
throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('texImage2D')
+ @DomName('WebGLRenderingContext.texImage2D')
void _texImage2D_1(target, level, internalformat, width, height, int border, format, type, ArrayBufferView pixels) native;
@JSName('texImage2D')
+ @DomName('WebGLRenderingContext.texImage2D')
void _texImage2D_2(target, level, internalformat, format, type, pixels) native;
@JSName('texImage2D')
+ @DomName('WebGLRenderingContext.texImage2D')
void _texImage2D_3(target, level, internalformat, format, type, ImageElement image) native;
@JSName('texImage2D')
+ @DomName('WebGLRenderingContext.texImage2D')
void _texImage2D_4(target, level, internalformat, format, type, CanvasElement canvas) native;
@JSName('texImage2D')
+ @DomName('WebGLRenderingContext.texImage2D')
void _texImage2D_5(target, level, internalformat, format, type, VideoElement video) native;
- /// @domName WebGLRenderingContext.texParameterf; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.texParameterf')
void texParameterf(int target, int pname, num param) native;
- /// @domName WebGLRenderingContext.texParameteri; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.texParameteri')
void texParameteri(int target, int pname, int param) native;
- /// @domName WebGLRenderingContext.texSubImage2D; @docsEditable true
+ /// @docsEditable true
void texSubImage2D(int target, int level, int xoffset, int yoffset, int format_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [int type, ArrayBufferView pixels]) {
if ((canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_image_OR_pixels_OR_video == null)) {
_texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
@@ -21764,107 +23659,143 @@ class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi
throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('texSubImage2D')
+ @DomName('WebGLRenderingContext.texSubImage2D')
void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int format, type, ArrayBufferView pixels) native;
@JSName('texSubImage2D')
+ @DomName('WebGLRenderingContext.texSubImage2D')
void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) native;
@JSName('texSubImage2D')
+ @DomName('WebGLRenderingContext.texSubImage2D')
void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElement image) native;
@JSName('texSubImage2D')
+ @DomName('WebGLRenderingContext.texSubImage2D')
void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasElement canvas) native;
@JSName('texSubImage2D')
+ @DomName('WebGLRenderingContext.texSubImage2D')
void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElement video) native;
- /// @domName WebGLRenderingContext.uniform1f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform1f')
void uniform1f(WebGLUniformLocation location, num x) native;
- /// @domName WebGLRenderingContext.uniform1fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform1fv')
void uniform1fv(WebGLUniformLocation location, Float32Array v) native;
- /// @domName WebGLRenderingContext.uniform1i; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform1i')
void uniform1i(WebGLUniformLocation location, int x) native;
- /// @domName WebGLRenderingContext.uniform1iv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform1iv')
void uniform1iv(WebGLUniformLocation location, Int32Array v) native;
- /// @domName WebGLRenderingContext.uniform2f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform2f')
void uniform2f(WebGLUniformLocation location, num x, num y) native;
- /// @domName WebGLRenderingContext.uniform2fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform2fv')
void uniform2fv(WebGLUniformLocation location, Float32Array v) native;
- /// @domName WebGLRenderingContext.uniform2i; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform2i')
void uniform2i(WebGLUniformLocation location, int x, int y) native;
- /// @domName WebGLRenderingContext.uniform2iv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform2iv')
void uniform2iv(WebGLUniformLocation location, Int32Array v) native;
- /// @domName WebGLRenderingContext.uniform3f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform3f')
void uniform3f(WebGLUniformLocation location, num x, num y, num z) native;
- /// @domName WebGLRenderingContext.uniform3fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform3fv')
void uniform3fv(WebGLUniformLocation location, Float32Array v) native;
- /// @domName WebGLRenderingContext.uniform3i; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform3i')
void uniform3i(WebGLUniformLocation location, int x, int y, int z) native;
- /// @domName WebGLRenderingContext.uniform3iv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform3iv')
void uniform3iv(WebGLUniformLocation location, Int32Array v) native;
- /// @domName WebGLRenderingContext.uniform4f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform4f')
void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w) native;
- /// @domName WebGLRenderingContext.uniform4fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform4fv')
void uniform4fv(WebGLUniformLocation location, Float32Array v) native;
- /// @domName WebGLRenderingContext.uniform4i; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform4i')
void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w) native;
- /// @domName WebGLRenderingContext.uniform4iv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniform4iv')
void uniform4iv(WebGLUniformLocation location, Int32Array v) native;
- /// @domName WebGLRenderingContext.uniformMatrix2fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniformMatrix2fv')
void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Array array) native;
- /// @domName WebGLRenderingContext.uniformMatrix3fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniformMatrix3fv')
void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Array array) native;
- /// @domName WebGLRenderingContext.uniformMatrix4fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.uniformMatrix4fv')
void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Array array) native;
- /// @domName WebGLRenderingContext.useProgram; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.useProgram')
void useProgram(WebGLProgram program) native;
- /// @domName WebGLRenderingContext.validateProgram; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.validateProgram')
void validateProgram(WebGLProgram program) native;
- /// @domName WebGLRenderingContext.vertexAttrib1f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttrib1f')
void vertexAttrib1f(int indx, num x) native;
- /// @domName WebGLRenderingContext.vertexAttrib1fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttrib1fv')
void vertexAttrib1fv(int indx, Float32Array values) native;
- /// @domName WebGLRenderingContext.vertexAttrib2f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttrib2f')
void vertexAttrib2f(int indx, num x, num y) native;
- /// @domName WebGLRenderingContext.vertexAttrib2fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttrib2fv')
void vertexAttrib2fv(int indx, Float32Array values) native;
- /// @domName WebGLRenderingContext.vertexAttrib3f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttrib3f')
void vertexAttrib3f(int indx, num x, num y, num z) native;
- /// @domName WebGLRenderingContext.vertexAttrib3fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttrib3fv')
void vertexAttrib3fv(int indx, Float32Array values) native;
- /// @domName WebGLRenderingContext.vertexAttrib4f; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttrib4f')
void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
- /// @domName WebGLRenderingContext.vertexAttrib4fv; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttrib4fv')
void vertexAttrib4fv(int indx, Float32Array values) native;
- /// @domName WebGLRenderingContext.vertexAttribPointer; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.vertexAttribPointer')
void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native;
- /// @domName WebGLRenderingContext.viewport; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLRenderingContext.viewport')
void viewport(int x, int y, int width, int height) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21872,7 +23803,8 @@ class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLShader; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLShader')
class WebGLShader native "*WebGLShader" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21880,16 +23812,20 @@ class WebGLShader native "*WebGLShader" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLShaderPrecisionFormat; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLShaderPrecisionFormat')
class WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" {
- /// @domName WebGLShaderPrecisionFormat.precision; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLShaderPrecisionFormat.precision')
final int precision;
- /// @domName WebGLShaderPrecisionFormat.rangeMax; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLShaderPrecisionFormat.rangeMax')
final int rangeMax;
- /// @domName WebGLShaderPrecisionFormat.rangeMin; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebGLShaderPrecisionFormat.rangeMin')
final int rangeMin;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21897,7 +23833,8 @@ class WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLTexture; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLTexture')
class WebGLTexture native "*WebGLTexture" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21905,7 +23842,8 @@ class WebGLTexture native "*WebGLTexture" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLUniformLocation; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLUniformLocation')
class WebGLUniformLocation native "*WebGLUniformLocation" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21913,7 +23851,8 @@ class WebGLUniformLocation native "*WebGLUniformLocation" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebGLVertexArrayObjectOES; @docsEditable true
+/// @docsEditable true
+@DomName('WebGLVertexArrayObjectOES')
class WebGLVertexArrayObject native "*WebGLVertexArrayObjectOES" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21921,7 +23860,8 @@ class WebGLVertexArrayObject native "*WebGLVertexArrayObjectOES" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitCSSFilterValue; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitCSSFilterValue')
class WebKitCssFilterValue extends _CssValueList native "*WebKitCSSFilterValue" {
static const int CSS_FILTER_BLUR = 10;
@@ -21948,7 +23888,8 @@ class WebKitCssFilterValue extends _CssValueList native "*WebKitCSSFilterValue"
static const int CSS_FILTER_SEPIA = 3;
- /// @domName WebKitCSSFilterValue.operationType; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitCSSFilterValue.operationType')
final int operationType;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21956,7 +23897,8 @@ class WebKitCssFilterValue extends _CssValueList native "*WebKitCSSFilterValue"
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitCSSMixFunctionValue; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitCSSMixFunctionValue')
class WebKitCssMixFunctionValue extends _CssValueList native "*WebKitCSSMixFunctionValue" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -21964,40 +23906,50 @@ class WebKitCssMixFunctionValue extends _CssValueList native "*WebKitCSSMixFunct
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebKitNamedFlow; @docsEditable true
+/// @docsEditable true
+@DomName('WebKitNamedFlow')
class WebKitNamedFlow extends EventTarget native "*WebKitNamedFlow" {
- /// @domName WebKitNamedFlow.firstEmptyRegionIndex; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitNamedFlow.firstEmptyRegionIndex')
final int firstEmptyRegionIndex;
- /// @domName WebKitNamedFlow.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitNamedFlow.name')
final String name;
- /// @domName WebKitNamedFlow.overset; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitNamedFlow.overset')
final bool overset;
- /// @domName WebKitNamedFlow.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('WebKitNamedFlow.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName WebKitNamedFlow.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('WebKitNamedFlow.dispatchEvent')
bool $dom_dispatchEvent(Event event) native;
- /// @domName WebKitNamedFlow.getContent; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitNamedFlow.getContent')
@Returns('NodeList') @Creates('NodeList')
List<Node> getContent() native;
- /// @domName WebKitNamedFlow.getRegions; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitNamedFlow.getRegions')
@Returns('NodeList') @Creates('NodeList')
List<Node> getRegions() native;
- /// @domName WebKitNamedFlow.getRegionsByContent; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebKitNamedFlow.getRegionsByContent')
@Returns('NodeList') @Creates('NodeList')
List<Node> getRegionsByContent(Node contentNode) native;
- /// @domName WebKitNamedFlow.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('WebKitNamedFlow.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -22005,7 +23957,8 @@ class WebKitNamedFlow extends EventTarget native "*WebKitNamedFlow" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WebSocket; @docsEditable true
+/// @docsEditable true
+@DomName('WebSocket')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@@ -22020,14 +23973,15 @@ class WebSocket extends EventTarget native "*WebSocket" {
static const EventStreamProvider<Event> openEvent = const EventStreamProvider<Event>('open');
- ///@docsEditable true
+ /// @docsEditable true
factory WebSocket(String url) => WebSocket._create(url);
static WebSocket _create(String url) => JS('WebSocket', 'new WebSocket(#)', url);
/// Checks if this type is supported on the current platform.
static bool get supported => JS('bool', 'typeof window.WebSocket != "undefined"');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
WebSocketEvents get on =>
new WebSocketEvents(this);
@@ -22039,44 +23993,56 @@ class WebSocket extends EventTarget native "*WebSocket" {
static const int OPEN = 1;
- /// @domName WebSocket.URL; @docsEditable true
+ /// @docsEditable true
@JSName('URL')
+ @DomName('WebSocket.URL')
final String Url;
- /// @domName WebSocket.binaryType; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebSocket.binaryType')
String binaryType;
- /// @domName WebSocket.bufferedAmount; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebSocket.bufferedAmount')
final int bufferedAmount;
- /// @domName WebSocket.extensions; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebSocket.extensions')
final String extensions;
- /// @domName WebSocket.protocol; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebSocket.protocol')
final String protocol;
- /// @domName WebSocket.readyState; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebSocket.readyState')
final int readyState;
- /// @domName WebSocket.url; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebSocket.url')
final String url;
- /// @domName WebSocket.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('WebSocket.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName WebSocket.close; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebSocket.close')
void close([int code, String reason]) native;
- /// @domName WebSocket.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('WebSocket.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName WebSocket.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('WebSocket.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName WebSocket.send; @docsEditable true
+ /// @docsEditable true
+ @DomName('WebSocket.send')
void send(data) native;
Stream<CloseEvent> get onClose => closeEvent.forTarget(this);
@@ -22110,17 +24076,19 @@ class WebSocketEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WheelEvent
+@DomName('WheelEvent')
class WheelEvent extends MouseEvent native "*WheelEvent" {
- /// @domName WheelEvent.webkitDirectionInvertedFromDevice; @docsEditable true
+ /// @docsEditable true
+ @DomName('WheelEvent.webkitDirectionInvertedFromDevice')
final bool webkitDirectionInvertedFromDevice;
- /// @domName WheelEvent.initWebKitWheelEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('WheelEvent.initWebKitWheelEvent')
void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
- /** @domName WheelEvent.deltaY */
+ @DomName('WheelEvent.deltaY')
num get deltaY {
if (JS('bool', '#.deltaY !== undefined', this)) {
// W3C WheelEvent
@@ -22148,7 +24116,7 @@ class WheelEvent extends MouseEvent native "*WheelEvent" {
'deltaY is not supported');
}
- /** @domName WheelEvent.deltaX */
+ @DomName('WheelEvent.deltaX')
num get deltaX {
if (JS('bool', '#.deltaX !== undefined', this)) {
// W3C WheelEvent
@@ -22198,7 +24166,7 @@ class WheelEvent extends MouseEvent native "*WheelEvent" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Window
+@DomName('Window')
class Window extends EventTarget implements WindowBase native "@*DOMWindow" {
Document get document => JS('Document', '#.document', this);
@@ -22274,7 +24242,7 @@ class Window extends EventTarget implements WindowBase native "@*DOMWindow" {
_addMeasurementFrameCallback(callback);
}
- /** @domName DOMWindow.requestAnimationFrame */
+ @DomName('DOMWindow.requestAnimationFrame')
int requestAnimationFrame(RequestAnimationFrameCallback callback) {
_ensureRequestAnimationFrame();
return _requestAnimationFrame(callback);
@@ -22351,7 +24319,8 @@ class Window extends EventTarget implements WindowBase native "@*DOMWindow" {
document.documentElement.attributes['dart-port:$name'] = json.stringify(serialized);
}
- /// @domName Window.console; @docsEditable true
+ /// @docsEditable true
+ @DomName('Window.console')
Console get console => Console.safeConsole;
@@ -22503,7 +24472,8 @@ class Window extends EventTarget implements WindowBase native "@*DOMWindow" {
static const EventStreamProvider<TransitionEvent> transitionEndEvent = const EventStreamProvider<TransitionEvent>('webkitTransitionEnd');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
WindowEvents get on =>
new WindowEvents(this);
@@ -22511,212 +24481,266 @@ class Window extends EventTarget implements WindowBase native "@*DOMWindow" {
static const int TEMPORARY = 0;
- /// @domName Window.applicationCache; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.applicationCache')
final ApplicationCache applicationCache;
- /// @domName Window.closed; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.closed')
final bool closed;
- /// @domName Window.crypto; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.crypto')
final Crypto crypto;
- /// @domName Window.defaultStatus; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.defaultStatus')
String defaultStatus;
- /// @domName Window.defaultstatus; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.defaultstatus')
String defaultstatus;
- /// @domName Window.devicePixelRatio; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.devicePixelRatio')
final num devicePixelRatio;
- /// @domName Window.event; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.event')
final Event event;
- /// @domName Window.history; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.history')
final History history;
- /// @domName Window.innerHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.innerHeight')
final int innerHeight;
- /// @domName Window.innerWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.innerWidth')
final int innerWidth;
- /// @domName Window.localStorage; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.localStorage')
final Storage localStorage;
- /// @domName Window.locationbar; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.locationbar')
final BarInfo locationbar;
- /// @domName Window.menubar; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.menubar')
final BarInfo menubar;
- /// @domName Window.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.name')
String name;
- /// @domName Window.navigator; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.navigator')
final Navigator navigator;
- /// @domName Window.offscreenBuffering; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.offscreenBuffering')
final bool offscreenBuffering;
- /// @domName Window.opener; @docsEditable true
+ /// @docsEditable true
WindowBase get opener => _convertNativeToDart_Window(this._opener);
@JSName('opener')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('DOMWindow.opener') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _opener;
- /// @domName Window.outerHeight; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.outerHeight')
final int outerHeight;
- /// @domName Window.outerWidth; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.outerWidth')
final int outerWidth;
- /// @domName DOMWindow.pagePopupController; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.pagePopupController')
final PagePopupController pagePopupController;
- /// @domName Window.pageXOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.pageXOffset')
final int pageXOffset;
- /// @domName Window.pageYOffset; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.pageYOffset')
final int pageYOffset;
- /// @domName Window.parent; @docsEditable true
+ /// @docsEditable true
WindowBase get parent => _convertNativeToDart_Window(this._parent);
@JSName('parent')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('DOMWindow.parent') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _parent;
- /// @domName Window.performance; @docsEditable true
- @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE)
+ /// @docsEditable true
+ @DomName('DOMWindow.performance') @SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(SupportedBrowser.IE)
final Performance performance;
- /// @domName Window.personalbar; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.personalbar')
final BarInfo personalbar;
- /// @domName Window.screen; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.screen')
final Screen screen;
- /// @domName Window.screenLeft; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.screenLeft')
final int screenLeft;
- /// @domName Window.screenTop; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.screenTop')
final int screenTop;
- /// @domName Window.screenX; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.screenX')
final int screenX;
- /// @domName Window.screenY; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.screenY')
final int screenY;
- /// @domName Window.scrollX; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.scrollX')
final int scrollX;
- /// @domName Window.scrollY; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.scrollY')
final int scrollY;
- /// @domName Window.scrollbars; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.scrollbars')
final BarInfo scrollbars;
- /// @domName Window.self; @docsEditable true
+ /// @docsEditable true
WindowBase get self => _convertNativeToDart_Window(this._self);
@JSName('self')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('DOMWindow.self') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _self;
- /// @domName Window.sessionStorage; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.sessionStorage')
final Storage sessionStorage;
- /// @domName Window.status; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.status')
String status;
- /// @domName Window.statusbar; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.statusbar')
final BarInfo statusbar;
- /// @domName Window.styleMedia; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.styleMedia')
final StyleMedia styleMedia;
- /// @domName Window.toolbar; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.toolbar')
final BarInfo toolbar;
- /// @domName Window.top; @docsEditable true
+ /// @docsEditable true
WindowBase get top => _convertNativeToDart_Window(this._top);
@JSName('top')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('DOMWindow.top') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _top;
- /// @domName DOMWindow.webkitNotifications; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.webkitNotifications')
final NotificationCenter webkitNotifications;
- /// @domName DOMWindow.webkitStorageInfo; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.webkitStorageInfo')
final StorageInfo webkitStorageInfo;
- /// @domName Window.window; @docsEditable true
+ /// @docsEditable true
WindowBase get window => _convertNativeToDart_Window(this._window);
@JSName('window')
- @Creates('Window|=Object') @Returns('Window|=Object')
+ @DomName('DOMWindow.window') @Creates('Window|=Object') @Returns('Window|=Object')
final dynamic _window;
- /// @domName Window.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('DOMWindow.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName Window.alert; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.alert')
void alert(String message) native;
- /// @domName Window.atob; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.atob')
String atob(String string) native;
- /// @domName Window.btoa; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.btoa')
String btoa(String string) native;
- /// @domName Window.captureEvents; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.captureEvents')
void captureEvents() native;
- /// @domName Window.clearInterval; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.clearInterval')
void clearInterval(int handle) native;
- /// @domName Window.clearTimeout; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.clearTimeout')
void clearTimeout(int handle) native;
- /// @domName Window.close; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.close')
void close() native;
- /// @domName Window.confirm; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.confirm')
bool confirm(String message) native;
- /// @domName Window.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('DOMWindow.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName Window.find; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.find')
bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) native;
- /// @domName Window.getComputedStyle; @docsEditable true
+ /// @docsEditable true
@JSName('getComputedStyle')
+ @DomName('DOMWindow.getComputedStyle')
CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement) native;
- /// @domName Window.getMatchedCSSRules; @docsEditable true
+ /// @docsEditable true
@JSName('getMatchedCSSRules')
+ @DomName('DOMWindow.getMatchedCSSRules')
@Returns('_CssRuleList') @Creates('_CssRuleList')
List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native;
- /// @domName Window.getSelection; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.getSelection')
DomSelection getSelection() native;
- /// @domName Window.matchMedia; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.matchMedia')
MediaQueryList matchMedia(String query) native;
- /// @domName Window.moveBy; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.moveBy')
void moveBy(num x, num y) native;
- /// @domName Window.moveTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.moveTo')
void moveTo(num x, num y) native;
- /// @domName DOMWindow.openDatabase; @docsEditable true
- @Creates('Database') @Creates('DatabaseSync')
+ /// @docsEditable true
+ @DomName('DOMWindow.openDatabase') @Creates('Database') @Creates('DatabaseSync')
Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native;
- /// @domName Window.postMessage; @docsEditable true
+ /// @docsEditable true
void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]) {
if (?message &&
!?messagePorts) {
@@ -22732,58 +24756,76 @@ class Window extends EventTarget implements WindowBase native "@*DOMWindow" {
throw new ArgumentError("Incorrect number or type of arguments");
}
@JSName('postMessage')
+ @DomName('DOMWindow.postMessage')
void _postMessage_1(message, targetOrigin) native;
@JSName('postMessage')
+ @DomName('DOMWindow.postMessage')
void _postMessage_2(message, targetOrigin, List messagePorts) native;
- /// @domName Window.print; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.print')
void print() native;
- /// @domName Window.releaseEvents; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.releaseEvents')
void releaseEvents() native;
- /// @domName Window.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('DOMWindow.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName Window.resizeBy; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.resizeBy')
void resizeBy(num x, num y) native;
- /// @domName Window.resizeTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.resizeTo')
void resizeTo(num width, num height) native;
- /// @domName Window.scroll; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.scroll')
void scroll(int x, int y) native;
- /// @domName Window.scrollBy; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.scrollBy')
void scrollBy(int x, int y) native;
- /// @domName Window.scrollTo; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.scrollTo')
void scrollTo(int x, int y) native;
- /// @domName Window.setInterval; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.setInterval')
int setInterval(TimeoutHandler handler, int timeout) native;
- /// @domName Window.setTimeout; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.setTimeout')
int setTimeout(TimeoutHandler handler, int timeout) native;
- /// @domName Window.showModalDialog; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.showModalDialog')
Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) native;
- /// @domName Window.stop; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.stop')
void stop() native;
- /// @domName Window.webkitConvertPointFromNodeToPage; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.webkitConvertPointFromNodeToPage')
Point webkitConvertPointFromNodeToPage(Node node, Point p) native;
- /// @domName Window.webkitConvertPointFromPageToNode; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.webkitConvertPointFromPageToNode')
Point webkitConvertPointFromPageToNode(Node node, Point p) native;
- /// @domName DOMWindow.webkitRequestFileSystem; @docsEditable true
+ /// @docsEditable true
+ @DomName('DOMWindow.webkitRequestFileSystem')
void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native;
- /// @domName DOMWindow.webkitResolveLocalFileSystemURL; @docsEditable true
+ /// @docsEditable true
@JSName('webkitResolveLocalFileSystemURL')
+ @DomName('DOMWindow.webkitResolveLocalFileSystemURL')
void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native;
Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this);
@@ -23168,20 +25210,22 @@ class WindowEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName Worker; @docsEditable true
+/// @docsEditable true
+@DomName('Worker')
class Worker extends AbstractWorker native "*Worker" {
static const EventStreamProvider<MessageEvent> messageEvent = const EventStreamProvider<MessageEvent>('message');
- ///@docsEditable true
+ /// @docsEditable true
factory Worker(String scriptUrl) => Worker._create(scriptUrl);
static Worker _create(String scriptUrl) => JS('Worker', 'new Worker(#)', scriptUrl);
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
WorkerEvents get on =>
new WorkerEvents(this);
- /// @domName Worker.postMessage; @docsEditable true
+ /// @docsEditable true
void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]) {
if (?messagePorts) {
var message_1 = convertDartToNative_SerializedScriptValue(message);
@@ -23193,11 +25237,14 @@ class Worker extends AbstractWorker native "*Worker" {
return;
}
@JSName('postMessage')
+ @DomName('Worker.postMessage')
void _postMessage_1(message, List messagePorts) native;
@JSName('postMessage')
+ @DomName('Worker.postMessage')
void _postMessage_2(message) native;
- /// @domName Worker.terminate; @docsEditable true
+ /// @docsEditable true
+ @DomName('Worker.terminate')
void terminate() native;
Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);
@@ -23216,12 +25263,13 @@ class WorkerEvents extends AbstractWorkerEvents {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WorkerContext
+@DomName('WorkerContext')
class WorkerContext extends EventTarget native "*WorkerContext" {
static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error');
- /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
+ /// @docsEditable true
+ @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
WorkerContextEvents get on =>
new WorkerContextEvents(this);
@@ -23229,66 +25277,85 @@ class WorkerContext extends EventTarget native "*WorkerContext" {
static const int TEMPORARY = 0;
- /// @domName WorkerContext.location; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.location')
final WorkerLocation location;
- /// @domName WorkerContext.navigator; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.navigator')
final WorkerNavigator navigator;
- /// @domName WorkerContext.self; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.self')
final WorkerContext self;
- /// @domName WorkerContext.webkitNotifications; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.webkitNotifications')
final NotificationCenter webkitNotifications;
- /// @domName WorkerContext.addEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('addEventListener')
+ @DomName('WorkerContext.addEventListener')
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName WorkerContext.clearInterval; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.clearInterval')
void clearInterval(int handle) native;
- /// @domName WorkerContext.clearTimeout; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.clearTimeout')
void clearTimeout(int handle) native;
- /// @domName WorkerContext.close; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.close')
void close() native;
- /// @domName WorkerContext.dispatchEvent; @docsEditable true
+ /// @docsEditable true
@JSName('dispatchEvent')
+ @DomName('WorkerContext.dispatchEvent')
bool $dom_dispatchEvent(Event evt) native;
- /// @domName WorkerContext.importScripts; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.importScripts')
void importScripts() native;
- /// @domName WorkerContext.openDatabase; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.openDatabase')
Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native;
- /// @domName WorkerContext.openDatabaseSync; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.openDatabaseSync')
DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native;
- /// @domName WorkerContext.removeEventListener; @docsEditable true
+ /// @docsEditable true
@JSName('removeEventListener')
+ @DomName('WorkerContext.removeEventListener')
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
- /// @domName WorkerContext.setInterval; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.setInterval')
int setInterval(TimeoutHandler handler, int timeout) native;
- /// @domName WorkerContext.setTimeout; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.setTimeout')
int setTimeout(TimeoutHandler handler, int timeout) native;
- /// @domName WorkerContext.webkitRequestFileSystem; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.webkitRequestFileSystem')
void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native;
- /// @domName WorkerContext.webkitRequestFileSystemSync; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerContext.webkitRequestFileSystemSync')
FileSystemSync webkitRequestFileSystemSync(int type, int size) native;
- /// @domName WorkerContext.webkitResolveLocalFileSystemSyncURL; @docsEditable true
+ /// @docsEditable true
@JSName('webkitResolveLocalFileSystemSyncURL')
+ @DomName('WorkerContext.webkitResolveLocalFileSystemSyncURL')
EntrySync webkitResolveLocalFileSystemSyncUrl(String url) native;
- /// @domName WorkerContext.webkitResolveLocalFileSystemURL; @docsEditable true
+ /// @docsEditable true
@JSName('webkitResolveLocalFileSystemURL')
+ @DomName('WorkerContext.webkitResolveLocalFileSystemURL')
void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native;
Stream<Event> get onError => errorEvent.forTarget(this);
@@ -23323,34 +25390,44 @@ class WorkerContextEvents extends Events {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WorkerLocation; @docsEditable true
+/// @docsEditable true
+@DomName('WorkerLocation')
class WorkerLocation native "*WorkerLocation" {
- /// @domName WorkerLocation.hash; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.hash')
final String hash;
- /// @domName WorkerLocation.host; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.host')
final String host;
- /// @domName WorkerLocation.hostname; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.hostname')
final String hostname;
- /// @domName WorkerLocation.href; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.href')
final String href;
- /// @domName WorkerLocation.pathname; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.pathname')
final String pathname;
- /// @domName WorkerLocation.port; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.port')
final String port;
- /// @domName WorkerLocation.protocol; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.protocol')
final String protocol;
- /// @domName WorkerLocation.search; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.search')
final String search;
- /// @domName WorkerLocation.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerLocation.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23358,22 +25435,28 @@ class WorkerLocation native "*WorkerLocation" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName WorkerNavigator; @docsEditable true
+/// @docsEditable true
+@DomName('WorkerNavigator')
class WorkerNavigator native "*WorkerNavigator" {
- /// @domName WorkerNavigator.appName; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerNavigator.appName')
final String appName;
- /// @domName WorkerNavigator.appVersion; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerNavigator.appVersion')
final String appVersion;
- /// @domName WorkerNavigator.onLine; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerNavigator.onLine')
final bool onLine;
- /// @domName WorkerNavigator.platform; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerNavigator.platform')
final String platform;
- /// @domName WorkerNavigator.userAgent; @docsEditable true
+ /// @docsEditable true
+ @DomName('WorkerNavigator.userAgent')
final String userAgent;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23381,20 +25464,24 @@ class WorkerNavigator native "*WorkerNavigator" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XPathEvaluator; @docsEditable true
+/// @docsEditable true
+@DomName('XPathEvaluator')
class XPathEvaluator native "*XPathEvaluator" {
- ///@docsEditable true
+ /// @docsEditable true
factory XPathEvaluator() => XPathEvaluator._create();
static XPathEvaluator _create() => JS('XPathEvaluator', 'new XPathEvaluator()');
- /// @domName XPathEvaluator.createExpression; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathEvaluator.createExpression')
XPathExpression createExpression(String expression, XPathNSResolver resolver) native;
- /// @domName XPathEvaluator.createNSResolver; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathEvaluator.createNSResolver')
XPathNSResolver createNSResolver(Node nodeResolver) native;
- /// @domName XPathEvaluator.evaluate; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathEvaluator.evaluate')
XPathResult evaluate(String expression, Node contextNode, XPathNSResolver resolver, int type, XPathResult inResult) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23402,23 +25489,28 @@ class XPathEvaluator native "*XPathEvaluator" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XPathException; @docsEditable true
+/// @docsEditable true
+@DomName('XPathException')
class XPathException native "*XPathException" {
static const int INVALID_EXPRESSION_ERR = 51;
static const int TYPE_ERR = 52;
- /// @domName XPathException.code; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathException.code')
final int code;
- /// @domName XPathException.message; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathException.message')
final String message;
- /// @domName XPathException.name; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathException.name')
final String name;
- /// @domName XPathException.toString; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathException.toString')
String toString() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23426,10 +25518,12 @@ class XPathException native "*XPathException" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XPathExpression; @docsEditable true
+/// @docsEditable true
+@DomName('XPathExpression')
class XPathExpression native "*XPathExpression" {
- /// @domName XPathExpression.evaluate; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathExpression.evaluate')
XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23437,11 +25531,13 @@ class XPathExpression native "*XPathExpression" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XPathNSResolver; @docsEditable true
+/// @docsEditable true
+@DomName('XPathNSResolver')
class XPathNSResolver native "*XPathNSResolver" {
- /// @domName XPathNSResolver.lookupNamespaceURI; @docsEditable true
+ /// @docsEditable true
@JSName('lookupNamespaceURI')
+ @DomName('XPathNSResolver.lookupNamespaceURI')
String lookupNamespaceUri(String prefix) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23449,7 +25545,8 @@ class XPathNSResolver native "*XPathNSResolver" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XPathResult; @docsEditable true
+/// @docsEditable true
+@DomName('XPathResult')
class XPathResult native "*XPathResult" {
static const int ANY_TYPE = 0;
@@ -23472,31 +25569,40 @@ class XPathResult native "*XPathResult" {
static const int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
- /// @domName XPathResult.booleanValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.booleanValue')
final bool booleanValue;
- /// @domName XPathResult.invalidIteratorState; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.invalidIteratorState')
final bool invalidIteratorState;
- /// @domName XPathResult.numberValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.numberValue')
final num numberValue;
- /// @domName XPathResult.resultType; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.resultType')
final int resultType;
- /// @domName XPathResult.singleNodeValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.singleNodeValue')
final Node singleNodeValue;
- /// @domName XPathResult.snapshotLength; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.snapshotLength')
final int snapshotLength;
- /// @domName XPathResult.stringValue; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.stringValue')
final String stringValue;
- /// @domName XPathResult.iterateNext; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.iterateNext')
Node iterateNext() native;
- /// @domName XPathResult.snapshotItem; @docsEditable true
+ /// @docsEditable true
+ @DomName('XPathResult.snapshotItem')
Node snapshotItem(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23504,14 +25610,16 @@ class XPathResult native "*XPathResult" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XMLSerializer; @docsEditable true
+/// @docsEditable true
+@DomName('XMLSerializer')
class XmlSerializer native "*XMLSerializer" {
- ///@docsEditable true
+ /// @docsEditable true
factory XmlSerializer() => XmlSerializer._create();
static XmlSerializer _create() => JS('XmlSerializer', 'new XMLSerializer()');
- /// @domName XMLSerializer.serializeToString; @docsEditable true
+ /// @docsEditable true
+ @DomName('XMLSerializer.serializeToString')
String serializeToString(Node node) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23519,35 +25627,44 @@ class XmlSerializer native "*XMLSerializer" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName XSLTProcessor; @docsEditable true
+/// @docsEditable true
+@DomName('XSLTProcessor')
class XsltProcessor native "*XSLTProcessor" {
- ///@docsEditable true
+ /// @docsEditable true
factory XsltProcessor() => XsltProcessor._create();
static XsltProcessor _create() => JS('XsltProcessor', 'new XSLTProcessor()');
- /// @domName XSLTProcessor.clearParameters; @docsEditable true
+ /// @docsEditable true
+ @DomName('XSLTProcessor.clearParameters')
void clearParameters() native;
- /// @domName XSLTProcessor.getParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('XSLTProcessor.getParameter')
String getParameter(String namespaceURI, String localName) native;
- /// @domName XSLTProcessor.importStylesheet; @docsEditable true
+ /// @docsEditable true
+ @DomName('XSLTProcessor.importStylesheet')
void importStylesheet(Node stylesheet) native;
- /// @domName XSLTProcessor.removeParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('XSLTProcessor.removeParameter')
void removeParameter(String namespaceURI, String localName) native;
- /// @domName XSLTProcessor.reset; @docsEditable true
+ /// @docsEditable true
+ @DomName('XSLTProcessor.reset')
void reset() native;
- /// @domName XSLTProcessor.setParameter; @docsEditable true
+ /// @docsEditable true
+ @DomName('XSLTProcessor.setParameter')
void setParameter(String namespaceURI, String localName, String value) native;
- /// @domName XSLTProcessor.transformToDocument; @docsEditable true
+ /// @docsEditable true
+ @DomName('XSLTProcessor.transformToDocument')
Document transformToDocument(Node source) native;
- /// @domName XSLTProcessor.transformToFragment; @docsEditable true
+ /// @docsEditable true
+ @DomName('XSLTProcessor.transformToFragment')
DocumentFragment transformToFragment(Node source, Document docVal) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23555,10 +25672,12 @@ class XsltProcessor native "*XSLTProcessor" {
// BSD-style license that can be found in the LICENSE file.
-/// @domName ClientRectList; @docsEditable true
+/// @docsEditable true
+@DomName('ClientRectList')
class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> native "*ClientRectList" {
- /// @domName ClientRectList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('ClientRectList.length')
int get length => JS("int", "#.length", this);
ClientRect operator[](int index) => JS("ClientRect", "#[#]", this, index);
@@ -23706,7 +25825,8 @@ class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na
// -- end List<ClientRect> mixins.
- /// @domName ClientRectList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('ClientRectList.item')
ClientRect item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23714,10 +25834,12 @@ class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSRuleList; @docsEditable true
+/// @docsEditable true
+@DomName('CSSRuleList')
class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "*CSSRuleList" {
- /// @domName CSSRuleList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSRuleList.length')
int get length => JS("int", "#.length", this);
CssRule operator[](int index) => JS("CssRule", "#[#]", this, index);
@@ -23865,7 +25987,8 @@ class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
// -- end List<CssRule> mixins.
- /// @domName CSSRuleList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSRuleList.item')
CssRule item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23873,10 +25996,12 @@ class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
// BSD-style license that can be found in the LICENSE file.
-/// @domName CSSValueList; @docsEditable true
+/// @docsEditable true
+@DomName('CSSValueList')
class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexingBehavior native "*CSSValueList" {
- /// @domName CSSValueList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSValueList.length')
int get length => JS("int", "#.length", this);
CssValue operator[](int index) => JS("CssValue", "#[#]", this, index);
@@ -24024,7 +26149,8 @@ class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi
// -- end List<CssValue> mixins.
- /// @domName CSSValueList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('CSSValueList.item')
CssValue item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24032,10 +26158,12 @@ class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi
// BSD-style license that can be found in the LICENSE file.
-/// @domName EntryArray; @docsEditable true
+/// @docsEditable true
+@DomName('EntryArray')
class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*EntryArray" {
- /// @domName EntryArray.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntryArray.length')
int get length => JS("int", "#.length", this);
Entry operator[](int index) => JS("Entry", "#[#]", this, index);
@@ -24183,7 +26311,8 @@ class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
// -- end List<Entry> mixins.
- /// @domName EntryArray.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntryArray.item')
Entry item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24191,10 +26320,12 @@ class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
// BSD-style license that can be found in the LICENSE file.
-/// @domName EntryArraySync; @docsEditable true
+/// @docsEditable true
+@DomName('EntryArraySync')
class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> native "*EntryArraySync" {
- /// @domName EntryArraySync.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntryArraySync.length')
int get length => JS("int", "#.length", this);
EntrySync operator[](int index) => JS("EntrySync", "#[#]", this, index);
@@ -24342,7 +26473,8 @@ class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> nat
// -- end List<EntrySync> mixins.
- /// @domName EntryArraySync.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('EntryArraySync.item')
EntrySync item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24350,10 +26482,12 @@ class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> nat
// BSD-style license that can be found in the LICENSE file.
-/// @domName GamepadList; @docsEditable true
+/// @docsEditable true
+@DomName('GamepadList')
class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "*GamepadList" {
- /// @domName GamepadList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('GamepadList.length')
int get length => JS("int", "#.length", this);
Gamepad operator[](int index) => JS("Gamepad", "#[#]", this, index);
@@ -24501,7 +26635,8 @@ class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
// -- end List<Gamepad> mixins.
- /// @domName GamepadList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('GamepadList.item')
Gamepad item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24509,10 +26644,12 @@ class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
// BSD-style license that can be found in the LICENSE file.
-/// @domName MediaStreamList; @docsEditable true
+/// @docsEditable true
+@DomName('MediaStreamList')
class _MediaStreamList implements JavaScriptIndexingBehavior, List<MediaStream> native "*MediaStreamList" {
- /// @domName MediaStreamList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamList.length')
int get length => JS("int", "#.length", this);
MediaStream operator[](int index) => JS("MediaStream", "#[#]", this, index);
@@ -24660,7 +26797,8 @@ class _MediaStreamList implements JavaScriptIndexingBehavior, List<MediaStream>
// -- end List<MediaStream> mixins.
- /// @domName MediaStreamList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('MediaStreamList.item')
MediaStream item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24668,10 +26806,12 @@ class _MediaStreamList implements JavaScriptIndexingBehavior, List<MediaStream>
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechInputResultList; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechInputResultList')
class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechInputResult> native "*SpeechInputResultList" {
- /// @domName SpeechInputResultList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechInputResultList.length')
int get length => JS("int", "#.length", this);
SpeechInputResult operator[](int index) => JS("SpeechInputResult", "#[#]", this, index);
@@ -24819,7 +26959,8 @@ class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
// -- end List<SpeechInputResult> mixins.
- /// @domName SpeechInputResultList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechInputResultList.item')
SpeechInputResult item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24827,10 +26968,12 @@ class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
// BSD-style license that can be found in the LICENSE file.
-/// @domName SpeechRecognitionResultList; @docsEditable true
+/// @docsEditable true
+@DomName('SpeechRecognitionResultList')
class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<SpeechRecognitionResult> native "*SpeechRecognitionResultList" {
- /// @domName SpeechRecognitionResultList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionResultList.length')
int get length => JS("int", "#.length", this);
SpeechRecognitionResult operator[](int index) => JS("SpeechRecognitionResult", "#[#]", this, index);
@@ -24978,7 +27121,8 @@ class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
// -- end List<SpeechRecognitionResult> mixins.
- /// @domName SpeechRecognitionResultList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('SpeechRecognitionResultList.item')
SpeechRecognitionResult item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -24986,10 +27130,12 @@ class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
// BSD-style license that can be found in the LICENSE file.
-/// @domName StyleSheetList; @docsEditable true
+/// @docsEditable true
+@DomName('StyleSheetList')
class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> native "*StyleSheetList" {
- /// @domName StyleSheetList.length; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheetList.length')
int get length => JS("int", "#.length", this);
StyleSheet operator[](int index) => JS("StyleSheet", "#[#]", this, index);
@@ -25137,7 +27283,8 @@ class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> na
// -- end List<StyleSheet> mixins.
- /// @domName StyleSheetList.item; @docsEditable true
+ /// @docsEditable true
+ @DomName('StyleSheetList.item')
StyleSheet item(int index) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -27703,7 +29850,7 @@ class _CssStyleDeclarationFactoryProvider {
}
class _DocumentFragmentFactoryProvider {
- /** @domName Document.createDocumentFragment */
+ @DomName('Document.createDocumentFragment')
static DocumentFragment createDocumentFragment() =>
document.createDocumentFragment();
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698