OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 /** | 7 /** |
8 * Provides a Map abstraction on top of data-* attributes, similar to the | 8 * Provides a Map abstraction on top of data-* attributes, similar to the |
9 * dataSet in the old DOM. | 9 * dataSet in the old DOM. |
10 */ | 10 */ |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 294 |
295 Element clone(bool deep); | 295 Element clone(bool deep); |
296 | 296 |
297 Element get parent(); | 297 Element get parent(); |
298 | 298 |
299 | 299 |
300 ElementEvents get on(); | 300 ElementEvents get on(); |
301 | 301 |
302 static final int ALLOW_KEYBOARD_INPUT = 1; | 302 static final int ALLOW_KEYBOARD_INPUT = 1; |
303 | 303 |
304 final int _childElementCount; | |
305 | |
306 final HTMLCollection _children; | |
307 | |
308 String _className; | |
309 | |
310 final int _clientHeight; | |
311 | |
312 final int _clientLeft; | |
313 | |
314 final int _clientTop; | |
315 | |
316 final int _clientWidth; | |
317 | |
318 String contentEditable; | 304 String contentEditable; |
319 | 305 |
320 String dir; | 306 String dir; |
321 | 307 |
322 bool draggable; | 308 bool draggable; |
323 | 309 |
324 final Element _firstElementChild; | |
325 | |
326 bool hidden; | 310 bool hidden; |
327 | 311 |
328 String id; | 312 String id; |
329 | 313 |
330 String innerHTML; | 314 String innerHTML; |
331 | 315 |
332 final bool isContentEditable; | 316 final bool isContentEditable; |
333 | 317 |
334 String lang; | 318 String lang; |
335 | 319 |
336 final Element lastElementChild; | 320 final Element lastElementChild; |
337 | 321 |
338 final Element nextElementSibling; | 322 final Element nextElementSibling; |
339 | 323 |
340 final int _offsetHeight; | |
341 | |
342 final int _offsetLeft; | |
343 | |
344 final Element offsetParent; | 324 final Element offsetParent; |
345 | 325 |
346 final int _offsetTop; | |
347 | |
348 final int _offsetWidth; | |
349 | |
350 final String outerHTML; | 326 final String outerHTML; |
351 | 327 |
352 final Element previousElementSibling; | 328 final Element previousElementSibling; |
353 | 329 |
354 final int _scrollHeight; | |
355 | |
356 int _scrollLeft; | |
357 | |
358 int _scrollTop; | |
359 | |
360 final int _scrollWidth; | |
361 | |
362 bool spellcheck; | 330 bool spellcheck; |
363 | 331 |
364 final CSSStyleDeclaration style; | 332 final CSSStyleDeclaration style; |
365 | 333 |
366 int tabIndex; | 334 int tabIndex; |
367 | 335 |
368 final String tagName; | 336 final String tagName; |
369 | 337 |
370 String title; | 338 String title; |
371 | 339 |
372 bool translate; | 340 bool translate; |
373 | 341 |
374 final String webkitRegionOverflow; | 342 final String webkitRegionOverflow; |
375 | 343 |
376 String webkitdropzone; | 344 String webkitdropzone; |
377 | 345 |
378 void blur(); | 346 void blur(); |
379 | 347 |
380 void click(); | 348 void click(); |
381 | 349 |
382 void focus(); | 350 void focus(); |
383 | 351 |
384 String _getAttribute(String name); | |
385 | |
386 ClientRect _getBoundingClientRect(); | |
387 | |
388 ClientRectList _getClientRects(); | |
389 | |
390 bool _hasAttribute(String name); | |
391 | |
392 Element insertAdjacentElement(String where, Element element); | 352 Element insertAdjacentElement(String where, Element element); |
393 | 353 |
394 void insertAdjacentHTML(String where, String html); | 354 void insertAdjacentHTML(String where, String html); |
395 | 355 |
396 void insertAdjacentText(String where, String text); | 356 void insertAdjacentText(String where, String text); |
397 | 357 |
398 Element query(String selectors); | 358 Element query(String selectors); |
399 | 359 |
400 NodeList _querySelectorAll(String selectors); | |
401 | |
402 void _removeAttribute(String name); | |
403 | |
404 void scrollByLines(int lines); | 360 void scrollByLines(int lines); |
405 | 361 |
406 void scrollByPages(int pages); | 362 void scrollByPages(int pages); |
407 | 363 |
408 void scrollIntoView([bool centerIfNeeded]); | 364 void scrollIntoView([bool centerIfNeeded]); |
409 | 365 |
410 void _setAttribute(String name, String value); | |
411 | |
412 bool matchesSelector(String selectors); | 366 bool matchesSelector(String selectors); |
413 | 367 |
414 void webkitRequestFullScreen(int flags); | 368 void webkitRequestFullScreen(int flags); |
415 | 369 |
416 } | 370 } |
417 | 371 |
418 interface ElementEvents extends Events { | 372 interface ElementEvents extends Events { |
419 | 373 |
420 EventListenerList get abort(); | 374 EventListenerList get abort(); |
421 | 375 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 EventListenerList get touchEnd(); | 458 EventListenerList get touchEnd(); |
505 | 459 |
506 EventListenerList get touchLeave(); | 460 EventListenerList get touchLeave(); |
507 | 461 |
508 EventListenerList get touchMove(); | 462 EventListenerList get touchMove(); |
509 | 463 |
510 EventListenerList get touchStart(); | 464 EventListenerList get touchStart(); |
511 | 465 |
512 EventListenerList get transitionEnd(); | 466 EventListenerList get transitionEnd(); |
513 } | 467 } |
OLD | NEW |