| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 /** | 5 /** |
| 6 * Custom Elements let authors define their own elements. Authors associate code | 6 * Custom Elements let authors define their own elements. Authors associate code |
| 7 * with custom tag names, and then use those custom tag names as they would any | 7 * with custom tag names, and then use those custom tag names as they would any |
| 8 * standard tag. See <www.polymer-project.org/platform/custom-elements.html> | 8 * standard tag. See <www.polymer-project.org/platform/custom-elements.html> |
| 9 * for more information. | 9 * for more information. |
| 10 */ | 10 */ |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 | 306 |
| 307 void set innerHTML(String v) { | 307 void set innerHTML(String v) { |
| 308 host.innerHtml = v; | 308 host.innerHtml = v; |
| 309 } | 309 } |
| 310 | 310 |
| 311 String get innerHtml => host.innerHtml; | 311 String get innerHtml => host.innerHtml; |
| 312 void set innerHtml(String v) { | 312 void set innerHtml(String v) { |
| 313 host.innerHtml = v; | 313 host.innerHtml = v; |
| 314 } | 314 } |
| 315 | 315 |
| 316 InputMethodContext get inputMethodContext => host.inputMethodContext; |
| 317 |
| 316 bool get isContentEditable => host.isContentEditable; | 318 bool get isContentEditable => host.isContentEditable; |
| 317 | 319 |
| 318 String get lang => host.lang; | 320 String get lang => host.lang; |
| 319 set lang(String v) { host.lang = v; } | 321 set lang(String v) { host.lang = v; } |
| 320 | 322 |
| 321 String get outerHtml => host.outerHtml; | 323 String get outerHtml => host.outerHtml; |
| 322 | 324 |
| 323 bool get spellcheck => host.spellcheck; | 325 bool get spellcheck => host.spellcheck; |
| 324 set spellcheck(bool v) { host.spellcheck = v; } | 326 set spellcheck(bool v) { host.spellcheck = v; } |
| 325 | 327 |
| 326 int get tabIndex => host.tabIndex; | 328 int get tabIndex => host.tabIndex; |
| 327 set tabIndex(int i) { host.tabIndex = i; } | 329 set tabIndex(int i) { host.tabIndex = i; } |
| 328 | 330 |
| 329 String get title => host.title; | 331 String get title => host.title; |
| 330 | 332 |
| 331 set title(String value) { host.title = value; } | 333 set title(String value) { host.title = value; } |
| 332 | 334 |
| 333 bool get translate => host.translate; | 335 bool get translate => host.translate; |
| 334 set translate(bool v) { host.translate = v; } | 336 set translate(bool v) { host.translate = v; } |
| 335 | 337 |
| 336 String get dropzone => host.dropzone; | 338 String get dropzone => host.dropzone; |
| 337 set dropzone(String v) { host.dropzone = v; } | 339 set dropzone(String v) { host.dropzone = v; } |
| 338 | 340 |
| 339 void click() { host.click(); } | 341 void click() { host.click(); } |
| 340 | 342 |
| 341 InputMethodContext getInputContext() => host.getInputContext(); | 343 List<Node> getDestinationInsertionPoints() => |
| 344 host.getDestinationInsertionPoints(); |
| 342 | 345 |
| 343 Element insertAdjacentElement(String where, Element element) => | 346 Element insertAdjacentElement(String where, Element element) => |
| 344 host.insertAdjacentElement(where, element); | 347 host.insertAdjacentElement(where, element); |
| 345 | 348 |
| 346 void insertAdjacentHtml(String where, String html) { | 349 void insertAdjacentHtml(String where, String html) { |
| 347 host.insertAdjacentHtml(where, html); | 350 host.insertAdjacentHtml(where, html); |
| 348 } | 351 } |
| 349 | 352 |
| 350 void insertAdjacentText(String where, String text) { | 353 void insertAdjacentText(String where, String text) { |
| 351 host.insertAdjacentText(where, text); | 354 host.insertAdjacentText(where, text); |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 for (var removed in record.removedNodes) { | 662 for (var removed in record.removedNodes) { |
| 660 if (identical(node, removed)) { | 663 if (identical(node, removed)) { |
| 661 observer.disconnect(); | 664 observer.disconnect(); |
| 662 element.removed(); | 665 element.removed(); |
| 663 return; | 666 return; |
| 664 } | 667 } |
| 665 } | 668 } |
| 666 } | 669 } |
| 667 }).observe(element.parentNode, childList: true); | 670 }).observe(element.parentNode, childList: true); |
| 668 } | 671 } |
| OLD | NEW |