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

Unified Diff: lib/html/dartium/html_dartium.dart

Issue 10987045: add Element.xtag to public interface (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: generate bindings Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index d369d91ccbeeafe423696823281aa22b1fe7530d..415f5988c7a3f913c9d1f494fd9f58afe14106ea 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -12498,6 +12498,18 @@ abstract class Element implements Node, NodeSelector {
Element get parent;
+ /**
+ * Experimental support for [web components][wc]. This field stores a
+ * reference to the component implementation. It was inspired by Mozilla's
+ * [x-tags][] project. Please note: in the future it may be possible to
+ * `extend Element` from your class, in which case this field will be
+ * deprecated and will simply return this [Element] object.
+ *
+ * [wc]: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html
+ * [x-tags]: http://x-tags.org/
+ */
+ var xtag;
+
/**
* @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/templates/html/interface/interface_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698