OLD | NEW |
1 { | 1 { |
2 "dart.dom.html": { | 2 "dart.dom.html": { |
3 "CanvasGradient": { | 3 "CanvasGradient": { |
4 "comment": [ | 4 "comment": [ |
5 "/**", | 5 "/**", |
6 " * An opaque canvas object representing a gradient.", | 6 " * An opaque canvas object representing a gradient.", |
7 " *", | 7 " *", |
8 " * Created by calling [createLinearGradient] or [createRadialGradient]
on a", | 8 " * Created by calling [createLinearGradient] or [createRadialGradient]
on a", |
9 " * [CanvasRenderingContext2D] object.", | 9 " * [CanvasRenderingContext2D] object.", |
10 " *", | 10 " *", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "body": [ | 97 "body": [ |
98 "/// Moved to [HtmlDocument]." | 98 "/// Moved to [HtmlDocument]." |
99 ], | 99 ], |
100 "caretRangeFromPoint": [ | 100 "caretRangeFromPoint": [ |
101 "/// Use the [Range] constructor instead." | 101 "/// Use the [Range] constructor instead." |
102 ], | 102 ], |
103 "createElement": [ | 103 "createElement": [ |
104 "/// Deprecated: use new Element.tag(tagName) instead." | 104 "/// Deprecated: use new Element.tag(tagName) instead." |
105 ], | 105 ], |
106 "createTouchList": [ | 106 "createTouchList": [ |
107 "/// Use the [TouchList] constructor isntead." | 107 "/// Use the [TouchList] constructor instead." |
108 ], | 108 ], |
109 "getCSSCanvasContext": [ | 109 "getCSSCanvasContext": [ |
110 "/// Moved to [HtmlDocument]." | 110 "/// Moved to [HtmlDocument]." |
111 ], | 111 ], |
112 "getElementById": [ | 112 "getElementById": [ |
113 "/// Deprecated: use query(\"#$elementId\") instead." | 113 "/// Deprecated: use query(\"#$elementId\") instead." |
114 ], | 114 ], |
115 "head": [ | 115 "head": [ |
116 "/// Moved to [HtmlDocument]." | 116 "/// Moved to [HtmlDocument]." |
117 ], | 117 ], |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 ], | 281 ], |
282 "overrideMimeType": [ | 282 "overrideMimeType": [ |
283 "/**", | 283 "/**", |
284 " * Specify a particular MIME type (such as `text/xml`) desired for
the", | 284 " * Specify a particular MIME type (such as `text/xml`) desired for
the", |
285 " * response.", | 285 " * response.", |
286 " *", | 286 " *", |
287 " * This value must be set before the request has been sent. See als
o the list", | 287 " * This value must be set before the request has been sent. See als
o the list", |
288 " * of [common MIME types](http://en.wikipedia.org/wiki/Internet_med
ia_type#List_of_common_media_types)", | 288 " * of [common MIME types](http://en.wikipedia.org/wiki/Internet_med
ia_type#List_of_common_media_types)", |
289 " */" | 289 " */" |
290 ], | 290 ], |
| 291 "readyState": [ |
| 292 "/**", |
| 293 " * Indicator of the current state of the request:", |
| 294 " *", |
| 295 " * <table>", |
| 296 " * <tr>", |
| 297 " * <td>Value</td>", |
| 298 " * <td>State</td>", |
| 299 " * <td>Meaning</td>", |
| 300 " * </tr>", |
| 301 " * <tr>", |
| 302 " * <td>0</td>", |
| 303 " * <td>unsent</td>", |
| 304 " * <td><code>open()</code> has not yet been called</td>", |
| 305 " * </tr>", |
| 306 " * <tr>", |
| 307 " * <td>1</td>", |
| 308 " * <td>opened</td>", |
| 309 " * <td><code>send()</code> has not yet been called</td>", |
| 310 " * </tr>", |
| 311 " * <tr>", |
| 312 " * <td>2</td>", |
| 313 " * <td>headers received</td>", |
| 314 " * <td><code>sent()</code> has been called; response headers an
d <code>status</code> are available</td>", |
| 315 " * </tr>", |
| 316 " * <tr>", |
| 317 " * <td>3</td> <td>loading</td> <td><code>responseText</code> ho
lds some data</td>", |
| 318 " * </tr>", |
| 319 " * <tr>", |
| 320 " * <td>4</td> <td>done</td> <td>request is complete</td>", |
| 321 " * </tr>", |
| 322 " * </table>", |
| 323 " */" |
| 324 ], |
291 "response": [ | 325 "response": [ |
292 "/**", | 326 "/**", |
293 " * The data received as a reponse from the request.", | 327 " * The data received as a reponse from the request.", |
294 " *", | 328 " *", |
295 " * The data could be in the", | 329 " * The data could be in the", |
296 " * form of a [String], [ArrayBuffer], [Document], [Blob], or json (
also a", | 330 " * form of a [String], [ArrayBuffer], [Document], [Blob], or json (
also a", |
297 " * [String]). `null` indicates request failure.", | 331 " * [String]). `null` indicates request failure.", |
298 " */" | 332 " */" |
299 ], | 333 ], |
300 "responseText": [ | 334 "responseText": [ |
301 "/**", | 335 "/**", |
302 " * The response in string form or `null on failure.", | 336 " * The response in string form or `null on failure.", |
303 " */" | 337 " */" |
304 ], | 338 ], |
305 "responseType": [ | 339 "responseType": [ |
306 "/**", | 340 "/**", |
307 " * [String] telling the server the desired response format.", | 341 " * [String] telling the server the desired response format.", |
308 " *", | 342 " *", |
309 " * Default is `String`.", | 343 " * Default is `String`.", |
310 " * Other options are one of 'arraybuffer', 'blob', 'document', 'jso
n',", | 344 " * Other options are one of 'arraybuffer', 'blob', 'document', 'jso
n',", |
311 " * 'text'. Some newer browsers will throw NS_ERROR_DOM_INVALID_ACCE
SS_ERR if", | 345 " * 'text'. Some newer browsers will throw NS_ERROR_DOM_INVALID_ACCE
SS_ERR if", |
312 " * `responseType` is set while performing a synchronous request.", | 346 " * `responseType` is set while performing a synchronous request.", |
313 " *", | 347 " *", |
314 " * See also: [MDN responseType](https://developer.mozilla.org/en-US
/docs/DOM/XMLHttpRequest#responseType)", | 348 " * See also: [MDN responseType](https://developer.mozilla.org/en-US
/docs/DOM/XMLHttpRequest#responseType)", |
315 " */" | 349 " */" |
316 ], | 350 ], |
| 351 "responseXML": [ |
| 352 "/**", |
| 353 " * The request response, or null on failure.", |
| 354 " *", |
| 355 " * The response is processed as", |
| 356 " * `text/xml` stream, unless responseType = 'document' and the requ
est is", |
| 357 " * synchronous.", |
| 358 " */" |
| 359 ], |
317 "send": [ | 360 "send": [ |
318 "/**", | 361 "/**", |
319 " * Send the request with any given `data`.", | 362 " * Send the request with any given `data`.", |
320 " *", | 363 " *", |
321 " * See also:", | 364 " * See also:", |
322 " * [send() docs](https://developer.mozilla.org/en-US/docs/DOM/XMLHt
tpRequest#send())", | 365 " * [send() docs](https://developer.mozilla.org/en-US/docs/DOM/XMLHt
tpRequest#send())", |
323 " * from MDN.", | 366 " * from MDN.", |
324 " */" | 367 " */" |
325 ], | 368 ], |
326 "status": [ | 369 "status": [ |
(...skipping 27 matching lines...) Expand all Loading... |
354 " * General constructor for any type of request (GET, POST, etc).", | 397 " * General constructor for any type of request (GET, POST, etc).", |
355 " *", | 398 " *", |
356 " * This call is used in conjunction with [open]:", | 399 " * This call is used in conjunction with [open]:", |
357 " *", | 400 " *", |
358 " * var request = new HttpRequest();", | 401 " * var request = new HttpRequest();", |
359 " * request.open('GET', 'http://dartlang.org')", | 402 " * request.open('GET', 'http://dartlang.org')", |
360 " * request.on.load.add((event) => print('Request complete'));", | 403 " * request.on.load.add((event) => print('Request complete'));", |
361 " *", | 404 " *", |
362 " * is the (more verbose) equivalent of", | 405 " * is the (more verbose) equivalent of", |
363 " *", | 406 " *", |
364 " * var request = new HttpRequest.get('http://dartlang.org', (ev
ent) => print('Request complete'));", | 407 " * var request = new HttpRequest.get('http://dartlang.org',", |
| 408 " * (event) => print('Request complete'));", |
365 " */" | 409 " */" |
366 ] | 410 ] |
367 } | 411 } |
368 } | 412 } |
369 } | 413 } |
370 } | 414 } |
OLD | NEW |