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

Side by Side Diff: tools/dom/docs/docs.json

Issue 65333002: Update selector docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/src/shared_html.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "dart.dom.html": { 2 "dart.dom.html": {
3 "AbstractWorker": { 3 "AbstractWorker": {
4 "members": { 4 "members": {
5 "errorEvent": [ 5 "errorEvent": [
6 "/**", 6 "/**",
7 " * Static factory designed to expose `error` events to event", 7 " * Static factory designed to expose `error` events to event",
8 " * handlers that are not necessarily instances of [AbstractWorker]. ", 8 " * handlers that are not necessarily instances of [AbstractWorker]. ",
9 " *", 9 " *",
10 " * See [EventStreamProvider] for usage information.", 10 " * See [EventStreamProvider] for usage information.",
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 "/**", 409 "/**",
410 " * Finds the first descendant element of this document that matches the", 410 " * Finds the first descendant element of this document that matches the",
411 " * specified group of selectors.", 411 " * specified group of selectors.",
412 " *", 412 " *",
413 " * Unless your webpage contains multiple documents, the top-level", 413 " * Unless your webpage contains multiple documents, the top-level",
414 " * [querySelector]", 414 " * [querySelector]",
415 " * method behaves the same as this method, so you should use it ins tead to", 415 " * method behaves the same as this method, so you should use it ins tead to",
416 " * save typing a few characters.", 416 " * save typing a few characters.",
417 " *", 417 " *",
418 " * [selectors] should be a string using CSS selector syntax.", 418 " * [selectors] should be a string using CSS selector syntax.",
419 " *",
419 " * var element1 = document.querySelector('.className');", 420 " * var element1 = document.querySelector('.className');",
420 " * var element2 = document.querySelector('#id');", 421 " * var element2 = document.querySelector('#id');",
421 " *", 422 " *",
422 " * For details about CSS selector syntax, see the", 423 " * For details about CSS selector syntax, see the",
423 " * [CSS selector specification](http://www.w3.org/TR/css3-selectors /).", 424 " * [CSS selector specification](http://www.w3.org/TR/css3-selectors /).",
424 " */" 425 " */"
425 ], 426 ],
426 "readystatechangeEvent": [ 427 "readystatechangeEvent": [
427 "/**", 428 "/**",
428 " * Static factory designed to expose `readystatechange` events to e vent", 429 " * Static factory designed to expose `readystatechange` events to e vent",
(...skipping 29 matching lines...) Expand all
458 "webkitpointerlockerrorEvent": [ 459 "webkitpointerlockerrorEvent": [
459 "/**", 460 "/**",
460 " * Static factory designed to expose `pointerlockerror` events to e vent", 461 " * Static factory designed to expose `pointerlockerror` events to e vent",
461 " * handlers that are not necessarily instances of [Document].", 462 " * handlers that are not necessarily instances of [Document].",
462 " *", 463 " *",
463 " * See [EventStreamProvider] for usage information.", 464 " * See [EventStreamProvider] for usage information.",
464 " */" 465 " */"
465 ] 466 ]
466 } 467 }
467 }, 468 },
469 "DocumentFragment": {
470 "members": {
471 "querySelector": [
472 "/**",
473 " * Finds the first descendant element of this document fragment tha t matches",
474 " * the specified group of selectors.",
475 " *",
476 " * [selectors] should be a string using CSS selector syntax.",
477 " *",
478 " * var element1 = fragment.querySelector('.className');",
479 " * var element2 = fragment.querySelector('#id');",
480 " *",
481 " * For details about CSS selector syntax, see the",
482 " * [CSS selector specification](http://www.w3.org/TR/css3-selectors /).",
483 " */"
484 ]
485 }
486 },
468 "Element": { 487 "Element": {
469 "comment": [ 488 "comment": [
470 "/**", 489 "/**",
471 " * An abstract class, which all HTML elements extend.", 490 " * An abstract class, which all HTML elements extend.",
472 " */" 491 " */"
473 ], 492 ],
474 "members": { 493 "members": {
475 "abortEvent": [ 494 "abortEvent": [
476 "/**", 495 "/**",
477 " * Static factory designed to expose `abort` events to event", 496 " * Static factory designed to expose `abort` events to event",
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 " *", 1178 " *",
1160 " * [selectors] should be a string using CSS selector syntax.", 1179 " * [selectors] should be a string using CSS selector syntax.",
1161 " *", 1180 " *",
1162 " * // Gets the first descendant with the class 'classname'", 1181 " * // Gets the first descendant with the class 'classname'",
1163 " * var element = element.querySelector('.className');", 1182 " * var element = element.querySelector('.className');",
1164 " * // Gets the element with id 'id'", 1183 " * // Gets the element with id 'id'",
1165 " * var element = element.querySelector('#id');", 1184 " * var element = element.querySelector('#id');",
1166 " * // Gets the first descendant [ImageElement]", 1185 " * // Gets the first descendant [ImageElement]",
1167 " * var img = element.querySelector('img');", 1186 " * var img = element.querySelector('img');",
1168 " *", 1187 " *",
1169 " * See also:", 1188 " * For details about CSS selector syntax, see the",
1170 " *", 1189 " * [CSS selector specification](http://www.w3.org/TR/css3-selectors /).",
1171 " * * [CSS Selectors](http://docs.webplatform.org/wiki/css/selectors )",
1172 " */" 1190 " */"
1173 ], 1191 ],
1174 "resetEvent": [ 1192 "resetEvent": [
1175 "/**", 1193 "/**",
1176 " * Static factory designed to expose `reset` events to event", 1194 " * Static factory designed to expose `reset` events to event",
1177 " * handlers that are not necessarily instances of [Element].", 1195 " * handlers that are not necessarily instances of [Element].",
1178 " *", 1196 " *",
1179 " * See [EventStreamProvider] for usage information.", 1197 " * See [EventStreamProvider] for usage information.",
1180 " */" 1198 " */"
1181 ], 1199 ],
(...skipping 3385 matching lines...) Expand 10 before | Expand all | Expand 10 after
4567 " *", 4585 " *",
4568 " * [oldVersion] should match the database's current [version] exact ly.", 4586 " * [oldVersion] should match the database's current [version] exact ly.",
4569 " *", 4587 " *",
4570 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.", 4588 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.",
4571 " */" 4589 " */"
4572 ] 4590 ]
4573 } 4591 }
4574 } 4592 }
4575 } 4593 }
4576 } 4594 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/src/shared_html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698