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

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

Issue 56533002: Added even more documentation to Element. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: A few more things. 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
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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 " */" 698 " */"
699 ], 699 ],
700 "focusEvent": [ 700 "focusEvent": [
701 "/**", 701 "/**",
702 " * Static factory designed to expose `focus` events to event", 702 " * Static factory designed to expose `focus` events to event",
703 " * handlers that are not necessarily instances of [Element].", 703 " * handlers that are not necessarily instances of [Element].",
704 " *", 704 " *",
705 " * See [EventStreamProvider] for usage information.", 705 " * See [EventStreamProvider] for usage information.",
706 " */" 706 " */"
707 ], 707 ],
708 "getBoundingClientRect": [
709 "/**",
710 " * The smallest bounding rectangle that encompasses this element's padding,",
711 " * scrollbar, and border.",
712 " *",
713 " * ## Other resources",
714 " *",
715 " * * [Element.getBoundingClientRect]",
716 " * (https://developer.mozilla.org/en-US/docs/Web/API/Element.getBou ndingClientRect)",
717 " * from MDN.",
718 " * * [The getBoundingClientRect() method]",
719 " * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboun dingclientrect-methods) from W3C.",
720 " */"
721 ],
722 "getClientRects": [
723 "/**",
724 " * A list of bounding rectangles for each box associated with this element.",
725 " *",
726 " * ## Other resources",
727 " *",
728 " * * [Element.getClientRects]",
729 " * (https://developer.mozilla.org/en-US/docs/Web/API/Element.getCli entRects)",
730 " * from MDN.",
731 " * * [The getClientRects() method]",
732 " * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboun dingclientrect-methods) from W3C.",
733 " */"
734 ],
735 "hidden": [
736 "/**",
737 " * Indicates whether the element is not relevant to the page's curr ent state.",
738 " *",
739 " * ## Other resources",
740 " *",
741 " * * [Hidden attribute specification]",
742 " * (http://www.whatwg.org/specs/web-apps/current-work/multipage/edi ting.html#the-hidden-attribute)",
743 " * from WHATWG.",
744 " */"
745 ],
708 "inputEvent": [ 746 "inputEvent": [
709 "/**", 747 "/**",
710 " * Static factory designed to expose `input` events to event", 748 " * Static factory designed to expose `input` events to event",
711 " * handlers that are not necessarily instances of [Element].", 749 " * handlers that are not necessarily instances of [Element].",
712 " *", 750 " *",
713 " * See [EventStreamProvider] for usage information.", 751 " * See [EventStreamProvider] for usage information.",
714 " */" 752 " */"
715 ], 753 ],
754 "inputMethodContext": [
755 "/**",
756 " * The current state of IME composition.",
757 " *",
758 " * ## Other resources",
759 " *",
760 " * * [Input method editor specification]",
761 " * (http://www.w3.org/TR/ime-api/) from W3C.",
762 " */"
763 ],
716 "invalidEvent": [ 764 "invalidEvent": [
717 "/**", 765 "/**",
718 " * Static factory designed to expose `invalid` events to event", 766 " * Static factory designed to expose `invalid` events to event",
719 " * handlers that are not necessarily instances of [Element].", 767 " * handlers that are not necessarily instances of [Element].",
720 " *", 768 " *",
721 " * See [EventStreamProvider] for usage information.", 769 " * See [EventStreamProvider] for usage information.",
722 " */" 770 " */"
723 ], 771 ],
724 "keydownEvent": [ 772 "keydownEvent": [
725 "/**", 773 "/**",
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 "/// Stream of `fullscreenerror` events handled by this [Element]." 1102 "/// Stream of `fullscreenerror` events handled by this [Element]."
1055 ], 1103 ],
1056 "pasteEvent": [ 1104 "pasteEvent": [
1057 "/**", 1105 "/**",
1058 " * Static factory designed to expose `paste` events to event", 1106 " * Static factory designed to expose `paste` events to event",
1059 " * handlers that are not necessarily instances of [Element].", 1107 " * handlers that are not necessarily instances of [Element].",
1060 " *", 1108 " *",
1061 " * See [EventStreamProvider] for usage information.", 1109 " * See [EventStreamProvider] for usage information.",
1062 " */" 1110 " */"
1063 ], 1111 ],
1112 "pseudo": [
1113 "/**",
1114 " * The name of this element's custom pseudo-element.",
1115 " *",
1116 " * This value must begin with an x and a hyphen, `x-`, to be consid ered valid.",
1117 " *",
1118 " * ## Other resources",
1119 " *",
1120 " * * [Using custom pseudo elements]",
1121 " * (http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom- 201/#toc-custom-pseduo)",
1122 " * from HTML5Rocks.",
1123 " * * [Custom pseudo-elements]",
1124 " * (http://www.w3.org/TR/shadow-dom/#custom-pseudo-elements) from W 3C.",
1125 " */"
1126 ],
1064 "querySelector": [ 1127 "querySelector": [
1065 "/**", 1128 "/**",
1066 " * Finds the first descendant element of this element that matches the", 1129 " * Finds the first descendant element of this element that matches the",
1067 " * specified group of selectors.", 1130 " * specified group of selectors.",
1068 " *", 1131 " *",
1069 " * [selectors] should be a string using CSS selector syntax.", 1132 " * [selectors] should be a string using CSS selector syntax.",
1070 " *", 1133 " *",
1071 " * // Gets the first descendant with the class 'classname'", 1134 " * // Gets the first descendant with the class 'classname'",
1072 " * var element = element.querySelector('.className');", 1135 " * var element = element.querySelector('.className');",
1073 " * // Gets the element with id 'id'", 1136 " * // Gets the element with id 'id'",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 " */" 1232 " */"
1170 ], 1233 ],
1171 "touchstartEvent": [ 1234 "touchstartEvent": [
1172 "/**", 1235 "/**",
1173 " * Static factory designed to expose `touchstart` events to event", 1236 " * Static factory designed to expose `touchstart` events to event",
1174 " * handlers that are not necessarily instances of [Element].", 1237 " * handlers that are not necessarily instances of [Element].",
1175 " *", 1238 " *",
1176 " * See [EventStreamProvider] for usage information.", 1239 " * See [EventStreamProvider] for usage information.",
1177 " */" 1240 " */"
1178 ], 1241 ],
1242 "translate": [
1243 "/**",
1244 " * Specifies whether this element's text content changes when the p age is",
1245 " * localized.",
1246 " *",
1247 " * ## Other resources",
1248 " *",
1249 " * * [The translate attribute]",
1250 " * (http://www.whatwg.org/specs/web-apps/current-work/multipage/ele ments.html#the-translate-attribute)",
1251 " * from WHATWG.",
1252 " */"
1253 ],
1254 "webkitdropzone": [
1255 "/**",
1256 " * A set of space-separated keywords that specify what kind of data this",
1257 " * Element accepts on drop and what to do with that data.",
1258 " *",
1259 " * ## Other resources",
1260 " *",
1261 " * * [Drag and drop sample]",
1262 " * (https://github.com/dart-lang/dart-samples/tree/master/web/html5 /dnd/basics)",
1263 " * based on [the tutorial](http://www.html5rocks.com/en/tutorials/d nd/basics/)",
1264 " * from HTML5Rocks.",
1265 " * * [Drag and drop specification]",
1266 " * (http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd .html#dnd)",
1267 " * from WHATWG.",
1268 " */"
1269 ],
1179 "webkitfullscreenchangeEvent": [ 1270 "webkitfullscreenchangeEvent": [
1180 "/**", 1271 "/**",
1181 " * Static factory designed to expose `fullscreenchange` events to e vent", 1272 " * Static factory designed to expose `fullscreenchange` events to e vent",
1182 " * handlers that are not necessarily instances of [Element].", 1273 " * handlers that are not necessarily instances of [Element].",
1183 " *", 1274 " *",
1184 " * See [EventStreamProvider] for usage information.", 1275 " * See [EventStreamProvider] for usage information.",
1185 " */" 1276 " */"
1186 ], 1277 ],
1187 "webkitfullscreenerrorEvent": [ 1278 "webkitfullscreenerrorEvent": [
1188 "/**", 1279 "/**",
1189 " * Static factory designed to expose `fullscreenerror` events to ev ent", 1280 " * Static factory designed to expose `fullscreenerror` events to ev ent",
1190 " * handlers that are not necessarily instances of [Element].", 1281 " * handlers that are not necessarily instances of [Element].",
1191 " *", 1282 " *",
1192 " * See [EventStreamProvider] for usage information.", 1283 " * See [EventStreamProvider] for usage information.",
1193 " */" 1284 " */"
1285 ],
1286 "webkitRegionOverset": [
1287 "/**",
1288 " * The current state of this region.",
1289 " *",
1290 " * If `\"empty\"`, then there is no content in this region.",
1291 " * If `\"fit\"`, then content fits into this region, and more conte nt can be",
1292 " * added. If `\"overset\"`, then there is more content than can be fit into this",
1293 " * region.",
1294 " *",
1295 " * ## Other resources",
1296 " *",
1297 " * * [CSS regions and exclusions tutorial]",
1298 " * (http://www.html5rocks.com/en/tutorials/regions/adobe/) from HTM L5Rocks.",
1299 " * * [Regions](http://html.adobe.com/webplatform/layout/regions/) f rom Adobe.",
1300 " * * [CSS regions specification]",
1301 " * (http://www.w3.org/TR/css3-regions/) from W3C.",
1302 " */"
1194 ] 1303 ]
1195 } 1304 }
1196 }, 1305 },
1197 "EventSource": { 1306 "EventSource": {
1198 "members": { 1307 "members": {
1199 "errorEvent": [ 1308 "errorEvent": [
1200 "/**", 1309 "/**",
1201 " * Static factory designed to expose `error` events to event", 1310 " * Static factory designed to expose `error` events to event",
1202 " * handlers that are not necessarily instances of [EventSource].", 1311 " * handlers that are not necessarily instances of [EventSource].",
1203 " *", 1312 " *",
(...skipping 2918 matching lines...) Expand 10 before | Expand all | Expand 10 after
4122 " *", 4231 " *",
4123 " * [oldVersion] should match the database's current [version] exact ly.", 4232 " * [oldVersion] should match the database's current [version] exact ly.",
4124 " *", 4233 " *",
4125 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.", 4234 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.",
4126 " */" 4235 " */"
4127 ] 4236 ]
4128 } 4237 }
4129 } 4238 }
4130 } 4239 }
4131 } 4240 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698